@nospamproxy/core
    Preparing search index...

    Exposes a OS related utility methods.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    newLine: string = ...

    The newLine character specific to OS derived from navigator.platform (https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/platform).

    Methods

    • Copies the text to clipboard using async Clipboard API (https://developer.mozilla.org/en-US/docs/Web/API/Clipboard) if available, else it falls back to document.execCommand("copy").

      Parameters

      • text: string

        The text to copy

      Returns Promise<void>