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(2)

Methods(2)

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 by TypeDoc. Maintained by 洛竹