JavaScript Tutorial - Stopping Propagation with Event.stopPropagation()

preview_player
Показать описание

In this video we take a look at how to use this method, with a visual example of it in action.

Support me on Patreon:

For your reference, check this out:

Follow me on Twitter @dcode!

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
Рекомендации по теме
Комментарии
Автор

you might just be the best teacher I've ever come across! thank you mate!!!

willsmall
Автор

Another great video. Keep it comming and you'll get a wider audience in no time!

adampielach
Автор

Very well explained with a short video. Great one !!!

bssushmitha
Автор

شكراً جزيلاً لك
كنت أبحث عن هذه الميزة وقد استفدت كثيراً منك

ahmedsalahabdullah
Автор

Your name is dom. But you're so intelligent. Thank you for this

castro
Автор

What a clear and simple way to teach this topic! subbed!

yofi
Автор

I guess this method can help me with my counter to stop in a certain value, thanks for the inspiration

futureeme
Автор

Just wanted to say that you make great videos! Thank you for making these.

TechSnazzy
Автор

Great video! helpful and you drilled home the point by going back and refreshing and trying different things! good job!

dryhail
Автор

@dcode Thank you for video. By the way, which keyboard and switches do you use? Thanks

dphov
Автор

Hey bro thank you very much, you helped me a lot i was mading side nav bar and every time i click inside of it it was closing

georgidimitrov
Автор

so can we stop the propagation at any level of the hierarchy?

anuragiyer
Автор

great video thank you! i noticed that you included the event object in the myBtn event listener function, but not in the previous function. are you able to explain when the event object should be included as an argument and why? thank you!

meganouch
Автор

awesome bro keep it up and please try to make React tutorials too ...

shahzadamr
Автор

nicely done :) that's a great help

TheLittlemaster
Автор

How do you prevent "the button was pressed!" Firing On the loading of the page?

bitbubz
Автор

it doesn't work with some events like moueover and mouseout

blaisepascal
Автор

please explain ImmidiateStopProbagtation

ckvinothkumar
Автор

I love dom he is awesome, I solved a proplem today thanks to Allah then him.

ayyubayyyub
Автор

CSS pointer-events: none; also are helpful in similar case.

Oswee