UNPKG

@esri/calcite-components

Version:

Web Components for Esri's Calcite Design System.

30 lines (29 loc) 982 B
import { EventEmitter, VNode } from "../../stencil-public-runtime"; import { SelectionMode } from "./interfaces"; import { Scale } from "../interfaces"; export declare class CalciteDropdownGroup { el: HTMLCalciteDropdownGroupElement; /** optionally set a group title for display */ groupTitle?: string; /** specify the selection mode - multi (allow any number of (or no) active items), single (allow and require one active item), none (no active items), defaults to single */ selectionMode: SelectionMode; /** * Specifies the size of the action. */ scale: Scale; /** * @internal */ calciteDropdownItemChange: EventEmitter; componentWillLoad(): void; render(): VNode; updateActiveItemOnChange(event: CustomEvent): void; /** position of group within a dropdown */ private groupPosition; /** the requested group */ private requestedDropdownGroup; /** the requested item */ private requestedDropdownItem; private getGroupPosition; }