Events
There are many possibilities to listen to changes of the model data by events
BREAKING: Combined Listeners were removed
BREAKING: Combined Listeners were removed Combined Event-Listener 'change', 'watch', 'mouse', 'display' and 'update' werde removed for better comprehensibility and simplification. Please use separate listener for each event.
v-on Directive with appended Custom ID like @input:form-base-simple is deprecated, no longer necessary and just use @input instead.
<!-- deprecated and removed -->
<v-form-base
id="my-form-base"
@watch:my-form-base="handle"
/>
<!-- use this instead -->
<v-form-base
id="my-form-base"
@focus="handle"
@input="handle"
@click="handle"
@blur="handle"
/>Listen to Component Events
We can use the v-on directive to listen to vuetify-form-base events and run some Code when they’re triggered. You can listen only to a single event or to any combination of events
Available Events
@focus | @input | @click | @blur
@mouseenter | @mouseleave
@dragstart | @dragover | @drop
@resize | @intersect | @clickOutside | @swipe
v-on Directive with appended Custom ID like @input:form-base-simple="log" is deprecated, no longer necessary and just use @input="log" instead.
Signature
Showcase - Change of Password Visibility
In this example you will change the password visibility using 'click' and 'input' event
Last updated
Was this helpful?