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

Panel

Expression Extends:

class Panel extends BaseComponent(HTMLElement)

Mixin Extends:

HTMLElement, BaseComponent

A Panel component

See:

Example:

Markup
<coral-panel></coral-panel>
JS constructor
new Coral.Panel();

Member Summary

Public Members
public

The content of the panel.

public

Whether the item is selected.

Public Members

public content: PanelContent source

The content of the panel.

  • content-zone

public selected: Boolean source

Whether the item is selected. When true, the item will appear as the active element in the PanelStack. The item must be a child of a PanelStack before this property is set to true. This property cannot be programmatically set to false.

  • false by default.
  • reflected