Icard/angular-clarity-master(work.../node_modules/primeng/fieldset/fieldset.interface.d.ts

47 lines
1.0 KiB
TypeScript

import { TemplateRef } from '@angular/core';
/**
* Custom panel toggle event, emits after toggle.
* @see {@link Fieldset.onAfterToggle}
* @group Events
*/
export interface FieldsetAfterToggleEvent {
/**
* Browser event.
*/
originalEvent: Event;
/**
* Collapsed state of the panel.
*/
collapsed: boolean | undefined;
}
/**
* Custom panel toggle event, emits before toggle.
* @see {@link Fieldset.onBeforeToggle}
* @extends {FieldsetAfterToggleEvent}
* @group Events
*/
export interface FieldsetBeforeToggleEvent extends FieldsetAfterToggleEvent {
}
/**
* Defines valid templates in Fieldset.
* @group Templates
*/
export interface FieldsetTemplates {
/**
* Custom header template.
*/
header(): TemplateRef<any>;
/**
* Custom content template.
*/
content(): TemplateRef<any>;
/**
* Custom footer template.
*/
expandicon(): TemplateRef<any>;
/**
* Custom icons template of the panel toggler.
*/
collapseicon(): TemplateRef<any>;
}