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

35 lines
641 B
TypeScript

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>;
}