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

46 lines
826 B
TypeScript
Raw Normal View History

2024-07-16 15:23:22 +00:00
import { TemplateRef } from '@angular/core';
/**
* Custom click event.
* @see {@link SelectButton.onOptionClick}
* @group Events
*/
export interface SelectButtonOptionClickEvent {
/**
* Browser event.
*/
originalEvent?: Event;
/**
* Selected option.
*/
option?: any;
/**
* Index of the selected option.
*/
index?: number;
}
/**
* Custom change event.
* @see {@link SelectButton.onChange}
* @group Events
*/
export interface SelectButtonChangeEvent {
/**
* Browser event.
*/
originalEvent?: Event;
/**
* Selected option.
*/
value?: any;
}
/**
* Defines valid templates in SelectButton.
* @group Templates
*/
export interface SelectButtonTemplates {
/**
* Custom item template.
*/
item(): TemplateRef<any>;
}