@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
26 lines (25 loc) • 869 B
TypeScript
/// <reference path="../../index.d.ts" />
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
import type { Scale } from "../interfaces.js";
/**
* @cssproperty [--calcite-list-background-color] - Specifies the component's background color.
* @cssproperty [--calcite-list-color] - Specifies the component's color.
* @slot - A slot for adding `calcite-list-item` and `calcite-list-item-group` elements.
*/
export abstract class ListItemGroup extends LitElement {
/**
* When `true`, interaction is prevented and the component is displayed with lower opacity.
*
* @default false
*/
accessor disabled: boolean;
/** Specifies the heading text for the nested `calcite-list-item` rows. */
accessor heading: string;
/**
* Specifies the size of the component.
*
* @default "m"
* @internal
*/
accessor scale: Scale;
}