primeng
Version:
PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB
46 lines (45 loc) • 826 B
TypeScript
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>;
}