bind()
bind(item, element, options?): HTMLElement
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? | object |
options.contextMenu? | boolean |
Returns
HTMLElement
Source
ui.ts:613