Represents a custom clipboard with a specific name which stores a value in localStorage under that name

Constructors

Accessors

Constructors

Accessors

  • get value(): object
  • Gets the value stored in the clipboard.

    Returns object

  • set value(value): void
  • Sets the value to be stored in the clipboard. Pass null to clear the value from storage.

    Parameters

    • value: object

    Returns void