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

    Class NavBarApi

    Class to manage buttons on the nav-bar.

    Index
    buttons: Record<string, Record<string, TypeButtonPanel>> = {}

    Groups of button panels created on the nav-bar.

    groupConfigs: Record<string, TypeButtonGroupConfig> = {}

    Configuration for button groups.

    • Sets the open state of a registered nav-bar panel.

      Parameters

      • buttonPanelId: string

        The id of the button panel

      • isOpen: boolean

        Whether the panel should be open

      Returns boolean

      Whether the panel exists and can be opened