Photo Sphere Viewer
    Preparing search index...

    Type Alias PanelConfig

    Configuration for Panel.show

    type PanelConfig = {
        clickHandler?: (target: HTMLElement) => void;
        content: string;
        id?: string;
        noMargin?: boolean;
        width?: string;
    }
    Index

    Properties

    clickHandler?: (target: HTMLElement) => void

    called when the user clicks inside the panel or presses the Enter key while an element focused

    content: string

    HTML content of the panel

    id?: string

    unique identifier to use with Panel.hide and Panel.isVisible and to store the width

    noMargin?: boolean

    remove the default margins

    false
    
    width?: string

    initial width