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.
17 lines (16 loc) • 620 B
TypeScript
import type IgcTreeItemComponent from './tree-item.js';
export interface IgcTreeComponentEventMap {
igcSelection: CustomEvent<TreeSelectionChange>;
igcItemExpanding: CustomEvent<IgcTreeItemComponent>;
igcItemExpanded: CustomEvent<IgcTreeItemComponent>;
igcItemCollapsing: CustomEvent<IgcTreeItemComponent>;
igcItemCollapsed: CustomEvent<IgcTreeItemComponent>;
igcActiveItem: CustomEvent<IgcTreeItemComponent>;
}
export interface IgcSelectionEventArgs {
detail: TreeSelectionChange;
cancelable: boolean;
}
export interface TreeSelectionChange {
newSelection: IgcTreeItemComponent[];
}