Skip to content

v-phone-input / VPhoneInputMessageFactory

Type Alias: VPhoneInputMessageFactory()<Country, Label, Example>

VPhoneInputMessageFactory<Country, Label, Example> = (context) => string

Defined in: dist/types.d.ts:143

Internal

Build a message for a given context.

Type Parameters

Country

Country extends VPhoneInputCountryObject

Label

Label extends string | undefined = string

Example

Example extends string | undefined = string

Parameters

context

VPhoneInputMessageFactoryContext<Country, Label, Example>

Returns

string