Skip to content

Commit

Permalink
add jsbin snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
loverajoel committed Aug 9, 2016
1 parent 4d466d8 commit 03aa185
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _posts/en/2016-08-02-copy-to-clipboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ document.querySelector('#input').select();
document.execCommand('copy');
```

See this in action [here](https://jsbin.com/huhozu/edit?html,js,output)
<div>
<a class="jsbin-embed" href="http://jsbin.com/huhozu/embed?js,console,output">JS Bin on jsbin.com</a><script src="http://static.jsbin.com/js/embed.min.js?3.39.11"></script>
</div>

0 comments on commit 03aa185

Please sign in to comment.