3 ms·
And for the truly adventurous, there's the html5 clipboard api.
by Rifu 11y ago
And for the truly adventurous, there's the html5 clipboard api.
- masklinn 11y agoIsn't the "problem" of the HTML5 clipboard API that you can only access the clipboard during clipboard events, so you can't put stuff in the clipboard on a button click, which is exactly the user-case for this library?
- Rifu 11y agoThis is very true, though I was mostly commenting on the "Modern copy to clipboard" description.
- cpeterso 11y agoClipboard.js uses the HTML5 clipboard API.