search

goog.ui.TabBar

Provided By
Extends
All Implemented Interfaces

Tab bar UI component. A tab bar contains tabs, rendered above, below, before, or after tab contents. Tabs in tab bars dispatch the following events:

Clients may listen for all of the above events on the tab bar itself, and refer to the event target to identify the tab that dispatched the event. When an unselected tab is clicked for the first time, it dispatches both a `SELECT` event and an `ACTION` event; subsequent clicks on an already selected tab only result in `ACTION` events.

new TabBar( opt_location, opt_renderer, opt_domHelper )

Parameters
opt_locationgoog.ui.TabBar.Location=

Tab bar location; defaults to goog.ui.TabBar.Location.TOP.

opt_renderer(goog.ui.TabBarRenderer|null)=

Renderer used to render or decorate the container; defaults to goog.ui.TabBarRenderer.

opt_domHelper(goog.dom.DomHelper|null)=

DOM helper, used for document interaction.

Instance Methods

Instance Properties

Static Functions

Enumerations