bind()
bind(
item,element,options?):HTMLElement
Defined in: ui.ts:646
Binds [item] with the [element]. It enables selecting it as a current object, drag-and-drop, tooltip, and popup menu.
Parameters
| Parameter | Type |
|---|---|
item | any |
element | HTMLElement |
options? | { contextMenu: boolean; } |
options.contextMenu? | boolean |
Returns
HTMLElement