Interface ClipboardSource

interface ClipboardSource {
    doCopy?: ((args) => string | DynamicClipboardItem);
    element: (() => HTMLElement);
}

Properties

Properties

doCopy?: ((args) => string | DynamicClipboardItem)

Type declaration

element: (() => HTMLElement)

A method that allows or focus to be called. (and supports an addEventListener('focus'))

Type declaration

    • (): HTMLElement
    • Returns HTMLElement