Interface ReadFromClipboardAction.ReadFromClipboardJs

All Superinterfaces:
Serializable
Enclosing class:
ReadFromClipboardAction

@JsDefinition public static interface ReadFromClipboardAction.ReadFromClipboardJs extends Serializable
How the clipboard is read, as a snippet for JsSnippets.of(Class).

For internal use only. May be renamed or removed in a future release.

  • Method Summary

    Modifier and Type
    Method
    Description
    An action that reads the clipboard.
  • Method Details

    • readFromClipboard

      @JsExpression("return window.Vaadin.Flow.clipboard.readPayload()") JsFunction readFromClipboard()
      An action that reads the clipboard.
      Returns:
      the action function, which returns the promise of the read