main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
477 bytes
|
Rev | Line | |
---|
[d565449] | 1 | // Type definitions for copy-to-clipboard 3.0
|
---|
| 2 | // Project: https://github.com/sudodoki/copy-to-clipboard
|
---|
| 3 | // Definitions by: Denis Carriere <https://github.com/DenisCarriere>, MartynasZilinskas <https://github.com/MartynasZilinskas>
|
---|
| 4 |
|
---|
| 5 | interface Options {
|
---|
| 6 | debug?: boolean;
|
---|
| 7 | message?: string;
|
---|
| 8 | format?: string; // MIME type
|
---|
| 9 | onCopy?: (clipboardData: object) => void;
|
---|
| 10 | }
|
---|
| 11 |
|
---|
| 12 | declare function copy(text: string, options?: Options): boolean;
|
---|
| 13 | declare namespace copy { }
|
---|
| 14 | export = copy;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.