• Generate a clipboard event on a node.

    Parameters

    • node: HTMLElement

      The element on which to generate the event.

    • Optional type: "copy" | "cut"

      The type of event to generate. 'paste' events cannot be programmatically generated.

      Notes

      This can only be called in response to a user input event.

    Returns void

Generated using TypeDoc