Zepto.js not returning false?

I am trying to associate an event handler with a click function using zepto.js. Usually in jQuery, I can simply say return false, and the actual click will never pass. Does Zepto support this? And if so, how to get around this?

+3
source share
1 answer

To duplicate the behavior of the return value false in the jQuery event handler, you need to call event.preventDefault()and event.stopPropagation().

+5
source

All Articles