MAIDR Documentation - v3.72.1
    Preparing search index...

    Abstract base class for view models that manage UI state and store interactions.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    store: EnhancedStore
    disposables: Disposable[]

    Accessors

    Methods

    • Moves the selection to an explicit index (WAI-ARIA Home/End support). Clamps to [0, targets.length]; targets.length is the virtual search option, mirroring moveDown()'s upper bound so any valid position is addressable.

      Parameters

      • index: number

        The target selection index.

      Returns void

    • Get available X values paired with their display label. value is the raw XValue (navigation matches on it); label is the x-axis formatted string so the search options read the same as the terse layer text and the extrema target labels (e.g. "Nov 3" rather than the raw "2019-11-03"). Falls back to String(value) when no custom x formatter is configured for the active layer.

      Returns XValueOption[]

      Array of {value, label} options for the search combobox.

    • Check if a trace supports extrema navigation

      Parameters

      • trace: unknown

        The trace to check

      Returns boolean

      True if the trace supports extrema navigation