11 lines
247 B
TypeScript
11 lines
247 B
TypeScript
|
type ClipboardArgs = string | {
|
||
|
element: string;
|
||
|
} | {
|
||
|
input: string;
|
||
|
};
|
||
|
export declare function clipboard(node: HTMLElement, args: ClipboardArgs): {
|
||
|
update(newArgs: ClipboardArgs): void;
|
||
|
destroy(): void;
|
||
|
} | undefined;
|
||
|
export {};
|