Package Exports
- yann-clipboard
- yann-clipboard/dist/index.js
- yann-clipboard/dist/index.umd.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (yann-clipboard) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
yann-clipboard
介绍
clipboard
/**
* 剪贴板复制
* @param {string} value
* @returns {Promise<void>}
*/
export declare function copy(value: string): Promise<void>;
/**
* 剪贴板粘贴
* @returns {Promise<string>}
*/
export declare function paste(): Promise<string>;
/**
* 页面复制
*/
export declare function pageCopy<T>(value: T): Promise<void>;
/**
* 页面粘贴
*/
export declare function pagePaste(): Promise<unknown>;