how to copy on something else other than click
See original GitHub issueatm the lib support only copying on click event, but what if we want to change that to something like click.ctrl
or any other event ?
in the original clipboard.js u can use data-clipboard-text
and use any event to call
new Clipboard(.itemClass)
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
How to Copy and Paste Multiple Items at Once - Zapier
Or use a menu. Select text, right-click on it, then choose from the Cut, Copy, and Paste commands on any computer. How to...
Read more >Copy and paste using the Office Clipboard - Microsoft Support
Select the first item that you want to copy, and press CTRL+C. Continue copying items from the same or other files until you...
Read more >6 ways to cut, copy, and paste in Windows | Digital Citizen
Go to where you want to paste the data and right-click or press-and-hold to open another contextual menu. Click or tap on Paste....
Read more >How to Copy and Paste Text to a Document or Another Program
Press the shortcut key combination Ctrl + V on a PC or Command + V on an Apple Mac. Tip. You can paste...
Read more >4 Ways to Copy and Paste - wikiHow
1. Select what you want to copy:
Text: To select text, click and drag the cursor until the text you want to copy is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
$copyText
is available in v0.0.7, check README before use it!np, i got it fixed with
$event.target.focus()
. thanx again for ur work 👍