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

39 lines
794 B
TypeScript
Raw Permalink Normal View History

2024-07-16 15:23:22 +00:00
import { TemplateRef } from '@angular/core';
/**
* Custom input event.
* @see {@link InputNumber.onInput}
* @group Events
*/
export interface InputNumberInputEvent {
/**
* Browser event.
*/
originalEvent: Event;
/**
* Input value.
*/
value: number | string | null;
/**
* Selected option value.
*/
formattedValue: string;
}
/**
* Defines valid templates in InputNumber.
* @group Templates
*/
export interface InputNumberTemplates {
/**
* Custom clear icon template.
*/
clearicon(): TemplateRef<any>;
/**
* Custom increment button icon template.
*/
incrementbuttonicon(): TemplateRef<any>;
/**
* Custom decrement button icon template.
*/
decrementbuttonicon(): TemplateRef<any>;
}