Function copyToClipboard

  • Copy a string to the clipboard.

    Parameters

    • str: string

      The string to copy.

    • Optional verbose: "en" | "ja"

      Whether to show a mw.notify message, defaulted to false.

      Available languages: en, ja.

    Returns string

    The copied string (same as the input string).

Generated using TypeDoc