A ClipboardActionProvider should allow access to the system clipboard

Hierarchy

  • ClipboardProviderInterface

Implemented by

Methods

  • copy should allow to copy text to the systems clipboard

    Parameters

    • text: string

      The text to copy to the clipboard

    Returns Promise<void>

  • hasText should return whether the system clipboard currently holds text or not

    Returns

    True if there's text on the clipboard, false otherwise

    Returns Promise<boolean>