FixIt JavaScript API
    Preparing search index...

    Function flashCopiedTooltip

    • Flash a "copied" tooltip on a button, resetting after a delay.

      Parameters

      • btn: HTMLElement

        The button element to show the tooltip on.

      • duration: number = 2000

        How long to display the tooltip in milliseconds.

      Returns void