Method: Event#stop_propagation
- Defined in:
- lib/source/redshift/event.rb
#stop_propagation ⇒ Object
call-seq:
evnt.stop_propagation -> evnt
Instructs the event to stop propagating, then returns evnt.
266 267 268 269 270 |
# File 'lib/source/redshift/event.rb', line 266 def stop_propagation native = `this.__native__` `native.stopPropagation?native.stopPropagation():native.cancelBubble=true` return self end |