Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Clipboard

The clipboard provides read and write access to the system's clipboard.

Hierarchy

  • Clipboard

Index

Methods

readText

  • Read the current clipboard contents as text.

    Returns Thenable<string>

    A thenable that resolves to a string.

writeText

  • writeText(value: string): Thenable<void>
  • Writes text into the clipboard.

    Parameters

    • value: string

    Returns Thenable<void>

    A thenable that resolves when writing happened.

Generated using TypeDoc