-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathindex.d.ts
More file actions
21 lines (20 loc) · 721 Bytes
/
Copy pathindex.d.ts
File metadata and controls
21 lines (20 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
declare module 'ember-cli-clipboard/components/copy-button' {
import Component from '@glimmer/component';
import ClipboardJS from 'clipboard';
export default class CopyButton extends Component<{
Args: {
text?: string | ClipboardJS.Options['text'];
target?: string | ClipboardJS.Options['target'];
action?: 'cut' | 'copy' | ClipboardJS.Options['action'];
container?: string | ClipboardJS.Options['container'];
delegateClickEvent?: boolean;
buttonType?: HTMLButtonElement['type'];
onSuccess?: (event: ClipboardJS.Event) => void;
onError?: (event: ClipboardJS.Event) => void;
};
Blocks: {
default: [];
};
Element: HTMLButtonElement;
}> {}
}