Type alias DataToolbarLayout

DataToolbarLayout: {
    default?: string[];
    fullscreen?: string[];
    mobile?: string[];
}

Describes the toolbar items layout (order and visibility) for different view modes. These items are available in the toolbar layout: open, zoom, fullscreen, theme-change, toggle-note, about.

Type declaration

  • Optional default?: string[]

    Default (desktop) view mode. Also applied when other modes are not specified.

    Example

    viewer.toolbarlayout.default
    
  • Optional fullscreen?: string[]

    The layout for the full-screen mode.

    Example

    viewer.toolbarlayout.fullscreen
    
  • Optional mobile?: string[]

    The toolbar layout for mobile devices.

    Example

    viewer.toolbarlayout.mobile