Photo Sphere Viewer
    Preparing search index...

    Type Alias ButtonConfig

    Configuration for AbstractButton

    type ButtonConfig = {
        className?: string;
        collapsable?: boolean;
        hoverScale?: boolean;
        icon?: string;
        iconActive?: string;
        id?: string;
        tabbable?: boolean;
        tagName?: string;
        title?: string;
    }
    Index

    Properties

    className?: string
    collapsable?: boolean

    if the button can be moved to menu when the navbar is too small

    false
    
    hoverScale?: boolean

    if the button has an mouse hover effect

    false
    
    icon?: string

    icon of the button

    iconActive?: string

    override icon when the button is active

    id?: string
    tabbable?: boolean

    if the button is accessible with the keyboard

    true
    
    tagName?: string
    title?: string