Options
All
  • Public
  • Public/Protected
  • All
Menu

A helper class to manage requesting clipboard permissions and provide common functionality for working with the clipboard.

Hierarchy

  • ClipboardHelper

Index

Constructors

Methods

Constructors

Methods

  • copyPlainText(text: string): Promise<void>
  • Copies plain text to the clipboard in a cross-browser compatible way.

    Parameters

    • text: string

      The text to copy.

    Returns Promise<void>