Photo Sphere Viewer
    Preparing search index...

    Interface Navbar

    Navigation bar component

    interface Navbar {
        container: HTMLElement;
        parent: Viewer | AbstractComponent;
        viewer: Viewer;
        destroy(): void;
        focusButton(id: string): void;
        getButton(id: string, warnNotFound?: boolean): AbstractButton;
        hide(): void;
        isVisible(): boolean;
        setButtons(buttons: (string | NavbarCustomButton)[]): void;
        setCaption(html: string): void;
        show(): void;
        toggle(visible?: boolean): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    container: HTMLElement

    Container element

    viewer: Viewer

    Reference to main controller

    Methods