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

PanelStack

Expression Extends:

class PanelStack extends BaseComponent(HTMLElement)

Mixin Extends:

HTMLElement, BaseComponent

A PanelStack component holding a collection of panels. It wraps content, keeping only the selected panel in view.

See:

Example:

Markup
<coral-panelstack></coral-panelstack>
JS constructor
new Coral.PanelStack();

Member Summary

Public Members
public

The Collection Interface that allows interacting with the items that the component contains.

public

The selected item of the PanelStack.

Public Members

public items: SelectableCollection source

The Collection Interface that allows interacting with the items that the component contains.

  • read-only

public selectedItem: HTMLElement source

The selected item of the PanelStack.

  • read-only