D
D
d4c4237abc2018-03-25 14:00:51
JavaScript
d4c4237abc, 2018-03-25 14:00:51

How not to trigger an event on the parent element?

There is an owl carousel plugin
on it there is a plugin for comparing pictures
and both react to mouse movement, like slide to the side,
can I somehow not trigger an event in the parent element when hovering over the picture?5ab781614a29c787157546.png5ab7814f148cf972306270.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2018-03-25
@Stalker_RED

event.stopPropagation();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question