UNPKG

@aotearoan/neon

Version:

Neon is a lightweight design library of Vue 3 components with minimal dependencies.

19 lines (18 loc) 415 B
class r { /** * 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(o) { return navigator.clipboard.writeText(o); } } const p = new r(); export { p as NeonClipboardService, r as NeonClipboardSupport }; //# sourceMappingURL=NeonClipboardService.es.js.map