Use copy email to clipboard as an action

Returns an event with the email to detect for value and timeouts
This commit is contained in:
2022-09-14 13:28:58 +02:00
parent f38a8fcdc7
commit 07060c8661
3 changed files with 40 additions and 23 deletions

1
src/app.d.ts vendored
View File

@@ -16,6 +16,7 @@ declare namespace svelte.JSX {
interface HTMLAttributes<T> {
onswipe?: (event: CustomEvent<string> & { target: EventTarget & T }) => any,
ontap?: (event: CustomEvent<boolean> & { target: EventTarget & T }) => any,
oncopied?: (event: CustomEvent<any> & { target: EventTarget & T }) => any,
}
}