Configurable events
ghostdevv opened this issue · comments
Options object to pass in event or events that should be detected for copy
something like:
<button use:copy={{ text: "Hello World", events: ['click'] }} />
events should be string | string[]