Reference Source
import {TabView} from '@adobe/coral-spectrum'
public class | source

TabView

Expression Extends:

class TabView extends BaseComponent(HTMLElement)

Mixin Extends:

HTMLElement, BaseComponent

A TabView component is the wrapping container used to create the typical Tabbed pattern. This is intended to be used with a TabList and PanelStack.

See:

Example:

Markup
<coral-tabview></coral-tabview>
JS constructor
new Coral.TabView();

Static Member Summary

Static Public Members
public static

Returns TabView orientation options.

Member Summary

Public Members
public

The TabView's orientation. See TabViewOrientationEnum.

  • TabViewOrientationEnum.HORIZONTAL by default.
  • reflected

public

The PanelStack which contains all the panels.

public

The TabList which handles all the tabs.

Static Public Members

public static orientation: TabViewOrientationEnum: * source

Returns TabView orientation options.

Public Members

public orientation: String source

The TabView's orientation. See TabViewOrientationEnum.

  • TabViewOrientationEnum.HORIZONTAL by default.
  • reflected

public panelStack: PanelStack source

The PanelStack which contains all the panels.

  • content-zone

public tabList: TabList source

The TabList which handles all the tabs.

  • content-zone