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

35 lines
740 B
TypeScript
Raw Normal View History

2024-07-16 15:23:22 +00:00
import { TemplateRef } from '@angular/core';
/**
* Custom panel resize start event.
* @see {@link Splitter.onResizeStart}
* @group Events
*/
export interface SplitterResizeStartEvent {
/**
* Browser event.
*/
originalEvent: TouchEvent | MouseEvent;
/**
* Collapsed state of the panel.
*/
sizes: number[];
}
/**
* Custom panel resize end event.
* @see {@link Splitter.onResizeEnd}
* @extends {SplitterResizeStartEvent}
* @group Events
*/
export interface SplitterResizeEndEvent extends SplitterResizeStartEvent {
}
/**
* Defines valid templates in Panel.
* @group Templates
*/
export interface SplitterTemplates {
/**
* Custom panel template.
*/
panel(): TemplateRef<any>;
}