Module: js-whatever/js/select-element

js-whatever/js/select-element

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:
Copyright 2013-2018 Micro Focus International plc. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
Documentation generated by JSDoc 3.4.3 on Thu Jun 21st 18:04 2018 using the DocStrap template.