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

35 lines
641 B
TypeScript
Raw Normal View History

2024-07-16 15:23:22 +00:00
import { TemplateRef } from '@angular/core';
/**
* Custom change event.
* @see {@link Rating.onRate}
* @group Events
*/
export interface RatingRateEvent {
/**
* Browser event
*/
originalEvent: Event;
/**
* Selected option value
*/
value: number;
}
/**
* Defines valid templates in Rating.
* @group Templates
*/
export interface RatingTemplates {
/**
* Custom on icon template.
*/
onicon(): TemplateRef<any>;
/**
* Custom off icon template.
*/
officon(): TemplateRef<any>;
/**
* Custom cancel icon template.
*/
cancelicon(): TemplateRef<any>;
}