Skip to content

Events

@input (number: String, phoneObject: Object)

in vue-tel-input@next (Vue 3), use @on-input

Fires when the input changes

@validate (phoneObject: Object)

Fires when the correctness of the phone number changes (from true to false or vice-versa) and when the component is mounted

@country-changed (countryObject: Object)

Fires when country changed (even for the first time)

@blur

Fires on blur event

@focus

Fires on focus event

@space

Fires on keyup.space event

@enter

Fires on keyup.enter event

@open

Fires when the flags dropdown opens

@close

Fires when the flags dropdown closes