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

35 lines
710 B
TypeScript

import { TemplateRef } from '@angular/core';
/**
* Custom change event.
* @see {@link ToggleButton.onChange}
* @group Events
*/
export interface ToggleButtonChangeEvent {
/**
* Browser event.
*/
originalEvent: Event;
/**
* Boolean value to represent checked state.
*/
checked: boolean | undefined;
}
/**
* Defines valid templates in ToggleButton.
* @group Templates
*/
export interface ToggleButtonTemplates {
/**
* Custom icon template.
* @param {boolean} context - checked state as boolean.
*/
icon(context: {
/**
* Checked.
*/
$implicit: boolean;
}): TemplateRef<{
$implicit: boolean;
}>;
}