Closed resah closed 1 year ago
Implementation for #348 allowing to set the clipboard text to a function, which is evaluated on click
<button use:clipboard={() => `This text will be copied at ${new Date().toUTCString()}`}>Copy Me</button>
[@svelteui/core]
[@svelteui/actions]
[@svelteui/motion]
[core]
[docs]
yarn lint
yarn test
yarn prepush
Description
Implementation for #348 allowing to set the clipboard text to a function, which is evaluated on click
Before submitting the PR, please make sure you do the following
[@svelteui/core]
,[@svelteui/actions]
,[@svelteui/motion]
,[@svelteui/core]
,[core]
, or[docs]
.yarn lint
andyarn test
or just runyarn prepush
.