UNPKG

intl-input-phone

Version:

Angular library to provide the international phone number feature by country dropdown and input fields with lots of customization and features like input masking, change the country, require valiation and many more.

28 lines (27 loc) 634 B
export interface CountryModel { ISOCode: string; Name: string; FlagCssClass: string; InputMasking: string; CountryPhoneCode: string; IsShowCustomFlag: boolean; CustomFlagUrl?: string; } /** * Class for set the country */ export declare class CustomCountryModel { ISOCode: string; Name?: string; InputMasking?: string; CountryPhoneCode?: string; CustomFlagUrl?: string; constructor(); } /** * Class for return the final result when input is filled correctly. */ export declare class NumberResult { Number: string; CountryModel: CountryModel; }