UNPKG

igniteui-webcomponents

Version:

Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.

15 lines (14 loc) 708 B
import type { RequiredProps } from '../common/util.js'; import type IgcTreeItemComponent from './tree-item.js'; export interface IgcTreeComponentEventMap { igcSelection: CustomEvent<IgcTreeSelectionEventArgs>; igcItemExpanding: CustomEvent<IgcTreeItemComponent>; igcItemExpanded: CustomEvent<IgcTreeItemComponent>; igcItemCollapsing: CustomEvent<IgcTreeItemComponent>; igcItemCollapsed: CustomEvent<IgcTreeItemComponent>; igcActiveItem: CustomEvent<IgcTreeItemComponent>; } export type TreeSelectionEventInit = RequiredProps<CustomEventInit<IgcTreeSelectionEventArgs>, 'detail' | 'cancelable'>; export interface IgcTreeSelectionEventArgs { newSelection: IgcTreeItemComponent[]; }