@catull/igniteui-angular
Version:
Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps
26 lines (25 loc) • 857 B
TypeScript
import { EventEmitter, InjectionToken } from '@angular/core';
import { AnimationReferenceMetadata } from '@angular/animations';
import { IBaseEventArgs } from '../core/utils';
export interface IgxExpansionPanelBase {
id: string;
cssClass: string;
/** @hidden @internal */
headerId: string;
collapsed: boolean;
animationSettings: {
openAnimation: AnimationReferenceMetadata;
closeAnimation: AnimationReferenceMetadata;
};
onCollapsed: EventEmitter<any>;
onExpanded: EventEmitter<any>;
collapse(evt?: Event): any;
expand(evt?: Event): any;
toggle(evt?: Event): any;
}
/** @hidden */
export declare const IGX_EXPANSION_PANEL_COMPONENT: InjectionToken<IgxExpansionPanelBase>;
export interface IExpansionPanelEventArgs extends IBaseEventArgs {
event: Event;
panel: IgxExpansionPanelBase;
}