Answer the question
In order to leave comments, you need to log in
How to find out what object we are in?
Hello! Question next!
In data I have an array of objects, which I output using the v-for directive. Each object has a name field, and depending on what is in the name field, I want to run a specific function. How to determine which field has which name and check it with if? What to write in the condition?
Code link: https://codesandbox.io/s/hardcore-bush-3bnpd?file=...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question