Skip to content

v-phone-input / VPhoneInputCountryGuesser

Interface: VPhoneInputCountryGuesser()

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

Internal

Country guesser function.

VPhoneInputCountryGuesser(): VPhoneInputCountryGuesserResult | Promise<VPhoneInputCountryGuesserResult>

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

Guess a country.

Returns

VPhoneInputCountryGuesserResult | Promise<VPhoneInputCountryGuesserResult>

Properties

memoized?

optional memoized: MaybeRef<string | null | undefined>

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

Previously memoized country two-letter code.

Remarks

Property should only be available when the country guesser function supports memoization. It is set to memoize the currently selected country. It is retrieved to avoid running guesser function when a memoized country is available.