MaterialTabPanelComponent class

A component that creates a tab panel with navigation bar on the top.

Annotations
  • @Component(selector: 'material-tab-panel', directives: [FixedMaterialTabStripComponent], templateUrl: 'material_tab_panel.html', styleUrls: ['material_tab_panel.scss.css'], changeDetection: ChangeDetectionStrategy.onPush)

Constructors

MaterialTabPanelComponent(ChangeDetectorRef _changeDetector)

Properties

activeTabIndex int
Index of the active panel, 0-based.
getter/setter pair
beforeTabChange Stream<TabChangeEvent>
Stream of TabChangeEvent instances, published before the tab has changed.
no setter
centerTabs bool
Whether to center-align the tab buttons.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tabChange Stream<TabChangeEvent>
Stream of TabChangeEvent instances, published when the tab has changed.
no setter
tabIds List<String>
no setter
tabLabels List<String>
no setter
tabs List<Tab>
no getter

Methods

ngAfterContentInit() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBeforeTabChange(TabChangeEvent e) → void
Fires beforeTabChange event.
onTabChange(TabChangeEvent e) → void
Fires tabChange event.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

hostClass → const String