Icard/angular-clarity-master(work.../node_modules/primeng/tristatecheckbox/tristatecheckbox.interface....

31 lines
621 B
TypeScript
Raw Permalink Normal View History

2024-07-16 15:23:22 +00:00
import { TemplateRef } from '@angular/core';
/**
* Defines valid templates in TriStateCheckbox.
* @group Templates
*/
export interface TriStateCheckboxTemplates {
/**
* Custom check icon template.
*/
checkicon(): TemplateRef<any>;
/**
* Custom uncheck icon template.
*/
uncheckicon(): TemplateRef<any>;
}
/**
* Custom change event.
* @see {@link TriStateCheckbox.onChange}
* @group Events
*/
export interface TriStateCheckboxChangeEvent {
/**
* Browser event.
*/
originalEvent: Event;
/**
* Value of the checkbox.
*/
value: boolean | null;
}