Dennis Hackethal’s Blog

My blog about philosophy, coding, and anything else that interests me.

Tweet

This mirrored tweet of mine may be formatted slightly differently than on Twitter.

Dennis Hackethal

@alexandereardon

Saying that returning false from an object-property event handler will "cancel the event" may be a bit misleading as the event still triggers. It has to, since JS doesn't know that the fn returns false before running it. Only the default behavior after the fn runs is canceled.


What people are saying

Below comments were posted on this blog, not on Twitter.

What are your thoughts?

Your comment won’t be posted to Twitter, only to my blog.
You are responding to comment #. Clear

Preview

Markdown supported. cmd + enter to comment. Your comment will appear upon approval. You are responsible for what you write. Terms, privacy policy
This small puzzle helps protect the blog against automated spam.

Preview