feat(plugins): clipboard (#29)

This commit is contained in:
Sylvain Marroufin
2022-02-02 17:14:41 +01:00
committed by GitHub
parent ed499b3b21
commit 832ffe4323
3 changed files with 37 additions and 0 deletions

3
src/runtime/types/clipboard.d.ts vendored Normal file
View File

@@ -0,0 +1,3 @@
export interface ClipboardPlugin {
copy: (text: string, success?: { title?: string, description?: string }, failure?: { title?: string, description?: string }) => void
}