clipboard-polyfill
Version: 
A polyfill for the asynchronous clipboard API
6 lines (5 loc) • 346 B
TypeScript
import { StringItem } from "../ClipboardItem/convert";
export declare function execCopy(data: StringItem): boolean;
export declare function copyUsingTempSelection(e: HTMLElement, data: StringItem): boolean;
export declare function copyUsingTempElem(data: StringItem): boolean;
export declare function copyTextUsingDOM(str: string): boolean;