ghostdevv / svelte-copy

A svelte action to copy text on click!

Home Page:https://svelte-copy.pages.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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[]