- Source:
Methods
enableSelection(node) → {HTMLElement}
(Re)enables the possibility to create a selection in an element. Most likely after having been disabled
using disableSelection
.
Parameters:
Name | Type | Description |
---|---|---|
node |
HTMLElement | the element to (re)enable user selection for |
- Source:
- See:
Returns:
the node with (re)enabled selection
- Type
- HTMLElement
Example
enableSelection(widget);