Тэги:
#js_events_tutoria; #javascript_events #how_to_use_javascript_events #javascript_mousedown_event #javascript_mouseup_event #javascript_click_event #javascript_double_click_event #javascript_button_click_event #javascript_event_handlers #what_are_javascript_events #what_are_javascript_event_handlers #what_are_event_listeners_in_javascript #addEventListener_tutorial #javascript_location_of_mouse #event_target_javascriptКомментарии:
🐤🎉
ОтветитьHere it is. If you call it not an event ("e" or "event"), but an object, then everything immediately becomes clearer. This is an event OBJECT! And this object has properties: .target, .ctrlKey, etc.
Thanks for the video.
thank you so much 💟
ОтветитьWorst video ever. Logged e to the console and checked mdn docs. Damn, never would have thought of that.
ОтветитьOut of all the videos. I found this to be easiest and straight to the point. Thank you sir.
ОтветитьThank you ❤
ОтветитьThis was very confusing to me. Thanks a lot for clearing
Ответитьthank you!
ОтветитьCool theme, can I know the name of the theme please?
ОтветитьBrilliant
ОтветитьHelpful
ОтветитьI am searching for this finally I found it. Thank u so much.
ОтветитьE
ОтветитьThank you, this video made it easier to grasp the concept behind the event object
ОтветитьGreat explaination, thanks 👍
ОтветитьVery heplful, thanks so much :)
ОтветитьThis video is really help me...
Ответитьthanks mate
ОтветитьSo to break it down for a stupid like me. Everything that is an event and is performed gets stored in a bundle of informations. In this case the e object.
ОтветитьKinda confusing video, the conditional statement if(e.ctrlKey) doesn't actually check if the ctrl key is being pressed down or not, just if that property exists at all with the event object, regardless of it's Boolean value.
ОтветитьThank you bro, I was stuck with this, now you explained.
Ответитьyou solved my code problem by uploading this short video just great 😎
ОтветитьAs a few people have pointed out, the parameter "e" can be named anything. Other common names for the event object parameter is "ev", "evt" or "event".
ОтветитьWould have been nice to explain too why "e". Can it be any other variable name, I assume that 'e' is used for simplicity, shorthand and laziness. but it could be "event", or "eventProperties" or "banana" - as the developer sees fit.
ОтветитьWhat an incredibly bad video. What you're explaining in this video is what's inside the parameter passed to the callback function you provide to an event listener. But in your title you say that this is always the case when you see (e) in some code. Even in this case it 'e' can be named no matter what, some people like to name it 'event' etc...
ОтветитьThank you, perfect explanation
Ответитьgreat explanation!
ОтветитьThat was awesome. Thank you. When you showed console.log(e) and it was an object! my mind was blown
ОтветитьBrilliant as usual.
Ответить(e) contain informations about event
Ответитьthank you
ОтветитьI get a pointerEvent instead of mouseEvent is that wrong?
ОтветитьGreat video man! Made this a lot clearer for me. Subscribed!
ОтветитьI'm spanish speaking, but i understood almost all you said.
ОтветитьThank you soo much!!🙏🏼
Ответитьthank you!
ОтветитьThank you! So concise!
ОтветитьMy Supreme Leader Thanks for all!
ОтветитьGreat video and advice! I was a little hazy on my full understanding of the Event object , now I full understand it!
ОтветитьThis makes things so much clearer
ОтветитьWow, very well explained. This helped a lot. Thank you!
Ответитьis this deprecated?
ОтветитьThanks!!
ОтветитьCrystal clear explanation. CRYSTAL!
ОтветитьNice tutorial on the basics of Events in JavaScript. Thanks, Dom
{2021-08-17}
i love you
ОтветитьThanks
Ответить