Skip to content

Instantly share code, notes, and snippets.

@jdudek jdudek/index.html
Created Nov 18, 2015

What would you like to do?
<!DOCTYPE html>
<meta charset="UTF-8">
<title>Clipboard example</title>
<script src=""></script>
Install with:
<input type="text" value="elm package install evancz/elm-http 2.0.0" id="install-command" />
<button data-clipboard-target="#install-command">Copy</button>
<script type="text/javascript">
new Clipboard('[data-clipboard-target]');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.