@mathjax/src
    Preparing search index...

    Hoverer that displays information on nodes (e.g., as tooltips).

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • document: A11yDocument

        The current document.

      • pool: ExplorerPool

        The explorer pool.

      • region: Region<string>

        A region to display results.

      • node: HTMLElement

        The node on which the explorer works.

      • nodeQuery: (node: HTMLElement) => boolean

        Predicate on nodes that will fire the hoverer.

      • nodeAccess: (node: HTMLElement) => string

        Accessor to extract node value that is passed to the region.

      Returns ValueHoverer

    Properties

    document: A11yDocument

    The current document.

    events: [string, (x: Event) => void][] = ...
    node: HTMLElement

    The node on which the explorer works.

    nodeAccess: (node: HTMLElement) => string

    Accessor to extract node value that is passed to the region.

    nodeQuery: (node: HTMLElement) => boolean

    Predicate on nodes that will fire the hoverer.

    The explorer pool.

    region: Region<string>

    A region to display results.

    stoppable: boolean = true

    Accessors

    • get highlighter(): Highlighter

      Returns Highlighter

      The Sre highlighter associated with the walker.

    Methods

    • Retrieves the closest node on which the node query fires. Thereby closest is defined as:

      1. The node or its ancestor on which the query is true.
      2. In case 1 does not exist the left-most child on which query is true.
      3. Otherwise fails.

      Parameters

      • node: HTMLElement

        The node on which the mouse event fired.

      Returns [HTMLElement, string]

      Node and output pair if successful.

    • Creator pattern for explorers.

      Type Parameters

      • T

      Parameters

      • document: A11yDocument

        The current document.

      • pool: ExplorerPool

        The explorer pool.

      • region: Region<T>

        A region to display results.

      • node: HTMLElement

        The node on which the explorer works.

      • ...rest: any[]

        Remaining information.

      Returns Explorer

      An object of the particular explorer class.