MDCTabBar class

Tabs organize and allow navigation between groups of content that are related and at the same level of hierarchy. The Tab Bar contains the Tab Scroller and Tab components.

Javascript: mdc.tabBar.MDCTabBar.

Inheritance

Constructors

MDCTabBar(Element root, [MDCFoundation? foundation, dynamic args])

Properties

foundation MDCFoundation
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
js → TabBarComponent
The underlying Javascript component.
no setteroverride
root Element
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

activateTab(int index) → void
destroy() → void
Releases resources and removes any listeners.
inherited
emit(String type, dynamic data, [bool shouldBubble = false]) → void
inherited
listen(String type, EventListener handler, {bool captureThis = false}) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scrollIntoView(int index) → void
toString() String
A string representation of this object.
inherited
unlisten(String type, EventListener handler, {bool captureThis = false}) → void
inherited

Operators

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

Static Methods

attachTo(Element root) MDCTabBar

Constants

activatedEvent → const String
Event data: {"detail": {"index": number}}