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

ColumnViewColumn

Expression Extends:

class ColumnViewColumn extends BaseComponent(HTMLElement)

Mixin Extends:

HTMLElement, BaseComponent

A ColumnView Column component

See:

Example:

Markup
<coral-columnview-column></coral-columnview-column>
JS constructor
new Coral.ColumnView.Column();

Member Summary

Public Members
public

The current active item.

public

The content of the column.

public

id: *

public

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

public

Returns the first selected item in the ColumnView.

public

Returns an Array containing the set selected items inside this Column.

Public Members

public activeItem: HTMLElement source

The current active item.

  • read-only
  • null by default.

public content: ColumnViewColumnContent source

The content of the column. This container is where the items should be added and is responsible for handling the scrolling.

  • content-zone

public id: * source

public items: ColumnViewCollection source

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

  • read-only

public selectedItem: HTMLElement source

Returns the first selected item in the ColumnView. The value null is returned if no element is selected.

  • read-only

public selectedItems: Array<HTMLElement> source

Returns an Array containing the set selected items inside this Column.

  • read-only