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

TableRow

Expression Extends:

class TableRow extends BaseComponent(HTMLTableRowElement)

A Table row component

See:

Example:

Markup
<tr is="coral-table-row"></tr>
JS constructor
new Coral.Table.Row();

Member Summary

Public Members
public

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

public

Whether the table row is locked.

public

Whether multiple items can be selected.

public

Whether the items are selectable.

public

Whether the table row is selected.

public

Returns the first selected item of the row.

public

Returns an Array containing the selected items.

Public Members

public items: SelectableCollection source

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

  • read-only

public locked: Boolean source

Whether the table row is locked.

  • false by default.
  • reflected

public multiple: Boolean source

Whether multiple items can be selected.

  • false by default.
  • reflected

public selectable: Boolean source

Whether the items are selectable.

  • false by default.
  • reflected

public selected: Boolean source

Whether the table row is selected.

  • false by default.
  • reflected

public selectedItem: HTMLElement source

Returns the first selected item of the row. The value null is returned if no element is selected.

  • read-only

public selectedItems: Array<HTMLElement> source

Returns an Array containing the selected items.

  • read-only