geoview-core - v2.2.0
    Preparing search index...

    Class AppBarApi

    Class to manage buttons on the app-bar.

    Index

    Constructors

    Properties

    buttons: Record<string, TypeButtonPanel> = {}

    Button panels registered on the app-bar, keyed by panel id (content registry — ReactNodes stay outside the store).

    Methods

    • Selects a tab by id.

      Parameters

      • tabId: string

        The id of the tab to be selected

      • open: boolean = true

        Optional open (true) or closed (false) panel (default: true)

      • isFocusTrapped: boolean = true

        Optional whether focus should be trapped (default: true)

      Returns void

      Legacy support. Should use uiController.setActiveAppBarTab directly instead.