Skip to main content

WidgetStuckEvent

Parameter passed to the callback of useStickable.

newHostId: string | null

This is the id of the new node that your widget is stuck to or null if it is no longer stuck to anything.


oldHostId: string | null

This is the id of the node that your widget was stuck to or null if it is no longer stuck to anything.