robertprice / ClipboardTextCopy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ClipboardTextCopy

Copy selected text from a text input element to the user's clipboard.

Contributing

For more information on contributing to this repository visit Contributing to a GitHub repository!

Typical usage scenario

Improve user experience by reducing clicks of a user copying text from an input element.

Configuration

  • Specify a classname in the classname propery of the text input element of which the text should be copied.

  • Specify the same classname in the 'Target element classname' property of this widget.

Make sure that your page doesn't contain multiple elements with the same classname as this will lead to unexpected behaviour.

About

License:Apache License 2.0


Languages

Language:JavaScript 98.4%Language:CSS 1.6%