- Source:
Methods
disableSelection(node) → {HTMLElement}
Disables the possibility to create a selection in an element.
Parameters:
Name | Type | Description |
---|---|---|
node |
HTMLElement | the element to disable user selection for |
- Source:
- See:
Returns:
the node with disabled selection
- Type
- HTMLElement
Example
disableSelection(widget);