source: imaps-frontend/node_modules/copy-to-clipboard/index.d.ts@ d565449

main
Last change on this file since d565449 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
RevLine 
[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
5interface Options {
6 debug?: boolean;
7 message?: string;
8 format?: string; // MIME type
9 onCopy?: (clipboardData: object) => void;
10}
11
12declare function copy(text: string, options?: Options): boolean;
13declare namespace copy { }
14export = copy;
Note: See TracBrowser for help on using the repository browser.