This class is responsible for all User hints like Tooltips and Information Area notifications.

Ideas:

  • register all configured instances to support language changes.

Implements

Constructors

Properties

client: IHintsClient
localizer: ILocalizer

Methods

  • Configure a single tooltip. This destroys all previously configured options.

    Parameters

    • jqThis: any

      the jquery object of the parent

    • options: any

      the options to be configured

    Returns void

  • Overrides the default implementations of onShow and onPosition. This is central for the whole application. This mainly improves the experience with certain Custom Equations tooltips.

    Parameters

    • time: number = -1

    Returns void

  • We get a normalized selector without anchor part.

    Parameters

    • selector: any

    Returns string

  • Equips all symbol anchors selected by the given selector with symbols. The selector is supplemented by the anchor of symbol subselector.

    Parameters

    • selector: string

      selector of the container, 'a.s[latex]' will be truncated

    Returns void