require("js-whatever/js/select-element")(selector) → {boolean}
Selects the text content of an element, allowing users to copy it to the clipboard. Works in all
browsers
Parameters:
| Name | Type | Description |
|---|---|---|
selector |
string | jQuery | The element to obtain the text of |
- Source:
Returns:
True if the selection succeeded, false if the selection failed
- Type
- boolean
- Source: