Skip to content

v-phone-input / usePhoneInput

Function: usePhoneInput()

usePhoneInput<Country>(options): VPhoneInputComposable<Country>

Defined in: dist/composables/usePhoneInput.d.ts:8

Composable to create a custom phone input with two fields: one for country selection and another for phone number.

Type Parameters

Country

Country extends VPhoneInputCountryObject

Parameters

options

VPhoneInputComposableOptions<Country>

Returns

VPhoneInputComposable<Country>