h5p-types
    Preparing search index...

    Class H5PTooltip

    Create an accessible tooltip

    Index
    • Parameters

      • triggeringElement: HTMLElement
      • Optionaloptions: Options

      Returns H5PTooltip

    uniqueId: number
    • Hide the tooltip

      Returns void

    • Remove tooltip

      Returns void

    • Change the text displayed by the tooltip

      Parameters

      • text: string

        The new text to be displayed. Set to null to use aria-label of triggeringElement instead

      Returns void