@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
18 lines (17 loc) • 574 B
TypeScript
import { SelectionMode } from '../components/interfaces';
/** Defines interface for group components that manage selection behavior of their children. */
export interface SelectableGroupComponent {
/** An array of the selected items. */
selectedItems: SelectableComponent[];
/** Controls how items can be selected. */
selectionMode: Partial<SelectionMode>;
}
/** Defines interface for selectable components. */
export interface SelectableComponent {
/**
* The selected state of the component.
*
* @private
*/
selected: boolean;
}