A
A
Andy Oker2021-04-21 12:54:07
Vue.js
Andy Oker, 2021-04-21 12:54:07

How to run a function depending on a flag?

I have a form. When it is filled, the isValidate parameter is true otherwise false.
How do I watch isValidate change and when it's true - run a new function?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2021-04-21
@Ashlis

watch, right?
https://ru.vuejs.org/v2/guide/computed.html#%D0%9C...

L
low molecular macro, 2021-04-21
@molekulyarniy

watch?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question