Tabs API Reference

Properties

Name Type Default Value
addNewTab boolean false
allowToggle boolean false
animation string 'advanced'
closeButtonMode string 'default'
closeButtons boolean false
collapsed boolean false
collapsible boolean false
dataSource {label: string, content: string}[] null
disabled boolean false
enableMouseWheelAction boolean false
locale string 'en'
localizeFormatFunction function | null null
messages object Please expand entry to see value
name string '""'
overflow string 'auto'
readonly boolean false
reorder boolean false
resize boolean false
scrollButtonsPosition string 'both'
scrollMode string 'paging'
selectedIndex number | null null
selectionMode string 'click'
tabLayout string 'scroll'
tabPosition string 'top'
tabTextOrientation string 'horizontal'
theme string ''
unfocusable boolean false

Events

Name Type
change Event
close Event
closing Event
dragEnd Event
dragStart Event
reorder Event

Methods

Name Type Return Type
collapse(): void Method void
ensureVisible(index: number): void Method void
expand(): void Method void
getOffsetFromEdgeOfElement(index: number): number Method number
insert(index: number, details: object): void Method void
refreshTabHeader(): void Method void
remove(index: number): void Method void
select(index: number): void Method void
update(index: number, label: string, content: string | HTMLElement): void Method void