@aotearoan/neon
Version:
Neon is a lightweight design library of Vue 3 components with minimal dependencies.
15 lines (14 loc) • 431 B
TypeScript
/**
* Utility that provides application clipboard support.
*/
export declare class NeonClipboardSupport {
/**
* Copy provided string to the clipboard if support is enabled.
*
* @param value The value to copy.
*
* @returns A promise indicating when the copy to clipboard is complete.
*/
copyTo(value: string): Promise<void>;
}
export declare const NeonClipboardService: NeonClipboardSupport;