Clipboard

Description

Adds a button allowing to easily copy a value to the clipboard.

Usage

Options

= cam-widget-clipboard
determines the value to be copied to the clipboard
? no-tooltip
if this attribute is present, the default tooltip is not added
? link-before
if this attribute is present, copy link/icon is placed before transcluded content

Examples

Basic usage

<input ng-model="obj.varToCopy"
       class="form-control"
       type="text"/>
<span cam-widget-clipboard="varToCopy">With some transcluded content</span>
Hover this ;)