S
S
Sergey2018-07-08 19:38:59
Vue.js
Sergey, 2018-07-08 19:38:59

How to attach multiple events to one element?

The essence of the question - there is a series of images, when clicking on each of them, I want to fasten several events = hide the image and save the data in a new array. Give me a hint on how to do it. Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Proskurin, 2018-07-08
@beg1nner

Write a common handler and call the necessary methods in it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question