V
V
Vasya Surname2019-12-04 22:44:37
JavaScript
Vasya Surname, 2019-12-04 22:44:37

Why doesn't the method in the component work?

Guys, tell me what I'm doing wrong, why the method does not work?
Here is the code
https://jsfiddle.net/ctubq95z/2/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
origami1024, 2019-12-04
@bazilio2010

Onclick is caught inside the component.
Add .native to intercept
https://jsfiddle.net/e9c5fm0d/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question