@mathjax/src
    Preparing search index...

    Class AbstractMouseExplorer<T>Abstract

    Type Parameters

    • T

      The type that is consumed by the Region of this explorer.

    Hierarchy (View Summary)

    Implements

    Index

    The current document.

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

    The node on which the explorer works.

    The explorer pool.

    region: Region<T>

    A region to display results.

    stoppable: boolean = true
    • get highlighter(): Highlighter

      Returns Highlighter

      The Sre highlighter associated with the walker.

    • Parameters

      • x: number

        The x-coordinate of the point to test

      • y: number

        The y-coordinate of the point to test

      • bbox: DOMRect

        The bounding box to test

      Returns boolean

      True if (x,y) is inside the bounding box

    • Find the smallest item in the expression's DOM tree that contains am event's point.

      Parameters

      • event: MouseEvent

        The event whose (x,y) is to be used

      • query: (node: HTMLElement) => boolean

        A test for which nodes to accept

      • skip: HTMLElement[] = []

        Optional list of nodes to ignore

      • icon: HTMLElement = null

        The info icon, if there is one

      Returns HTMLElement

      The smallest matching element containing the event's point