mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 07:50:36 +01:00
feat(plugins): clipboard (#29)
This commit is contained in:
committed by
GitHub
parent
ed499b3b21
commit
832ffe4323
3
src/runtime/types/clipboard.d.ts
vendored
Normal file
3
src/runtime/types/clipboard.d.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
export interface ClipboardPlugin {
|
||||
copy: (text: string, success?: { title?: string, description?: string }, failure?: { title?: string, description?: string }) => void
|
||||
}
|
||||
Reference in New Issue
Block a user