Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IOptions<T>

An options object for creating a tab bar.

Type parameters

  • T

Hierarchy

  • IOptions

Index

Properties

Optional allowDeselect

allowDeselect: undefined | false | true

Whether a tab can be deselected by the user.

The default is false.

Optional insertBehavior

insertBehavior: TabBar.InsertBehavior

The selection behavior when inserting a tab.

The default is 'select-tab-if-needed'.

Optional orientation

orientation: TabBar.Orientation

The layout orientation of the tab bar.

The default is horizontal.

Optional removeBehavior

removeBehavior: TabBar.RemoveBehavior

The selection behavior when removing a tab.

The default is 'select-tab-after'.

Optional renderer

renderer: IRenderer<T>

A renderer to use with the tab bar.

The default is a shared renderer instance.

Optional tabsMovable

tabsMovable: undefined | false | true

Whether the tabs are movable by the user.

The default is false.