@nospamproxy/core
    Preparing search index...

    A custom element that allows the user to copy data to the clipboard.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    copied: boolean = false
    data: string | (() => string | Promise<string>)

    The data or the function providing data that will be copied to the clipboard.

    value?: string = undefined

    The display text. If undefined, the bound data is used.

    wrapContent: boolean = false

    When set to true, the bound content/value is wrapped.

    Methods

    • Returns Promise<void>