20 lines
345 B
TypeScript
20 lines
345 B
TypeScript
import { TemplateRef } from '@angular/core';
|
|
/**
|
|
* Caret positions.
|
|
* @group Types
|
|
*/
|
|
export type Caret = {
|
|
begin: number;
|
|
end: number;
|
|
};
|
|
/**
|
|
* Defines valid templates in InputMask.
|
|
* @group Templates
|
|
*/
|
|
export interface InputMaskTemplates {
|
|
/**
|
|
* Custom clear icon template.
|
|
*/
|
|
clearicon(): TemplateRef<any>;
|
|
}
|