Answer the question
In order to leave comments, you need to log in
How to add a class in a cycle only to the element with which the interaction is performed?
When hovering over an element, the class changes for all elements ...
How, in this case, to add only to the element with the desired index?
There is an option to execute the method with vanilla JS there classList.add
too, but this is not a true View way.
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