Skip to content

commoncurriculum/ember-zeroclipboard

 
 

Repository files navigation

ember-zeroclipboard

ZeroClipboard functionality wrapped up in a simple Ember component.

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'
};

About

ZeroClipboard functionality wrapped up in a simple Ember component

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 75.0%
  • HTML 23.9%
  • Other 1.1%