ember-zeroclipboard

0.3.0 • Public • Published

ember-zeroclipboard

ZeroClipboard functionality wrapped up in a simple Ember component. Requires Ember v1.12 or greater.

Installation

# From within your ember-cli project
ember install:addon ember-zeroclipboard

Usage

{{#zero-clipboard text=textToCopy afterCopy='didCopy'}}Copy{{/zero-clipboard}}

You can also configure ZeroClipboard any way you want by simply specifying the options in your application's config/environment.js file:

ENV['ember-zeroclipboard'] = {
  activeClass: 'active',
  hoverClass: 'hover'
};

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.3.00latest

Version History

VersionDownloads (Last 7 Days)Published
0.3.00
0.2.00
0.1.00

Package Sidebar

Install

npm i ember-zeroclipboard

Weekly Downloads

0

Version

0.3.0

License

MIT

Last publish

Collaborators

  • ragnarpeterson