Saturday, October 4, 2014
GitHub's Copy to Clipboard with Ember
Advertise
GitHub recently replaced the copy and paste functionality with ZeroClipboard, a library for copying text to the clipboard that uses an invisible Adobe Flash movie through a JavaScript interface.
I wanted to integrate this functionality into an app that I am writing for Instructure and have been able to do so using very little code.
Here’s how I did it originally using Handlebars helpers:
This is awesome, however I would like to take this a step farther and create a directive Ember web component instead.
Ahh.. I feel very good about where Ember Components are going.
Subscribe to:
Post Comments (Atom)
No comments: