@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
28 lines (26 loc) • 1.07 kB
TypeScript
/// <reference types="../../index.d.ts" />
import { PropertyValues } from 'lit';
import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
import { Alignment, Scale, SelectionMode } from '../interfaces';
import { RowType, TableInteractionMode, TableRowFocusEvent } from '../calcite-table/interfaces';
import { InteractiveComponent } from '../../utils/interactive';
/** @slot - A slot for adding `calcite-table-cell` or `calcite-table-header` elements. */
export declare class TableRow extends LitElement {
/** Specifies the alignment of the component. */
alignment: Alignment;
/**
* When `true`, interaction is prevented and the component is displayed with lower opacity.
*
* @default false
*/
disabled: boolean;
/**
* When `true`, the component is selected.
*
* @default false
*/
get selected(): boolean;
set selected(value: boolean);
/** Fires when the selected state of the component changes. */
readonly calciteTableRowSelect: TargetedEvent<this, void>;
}