Class: Browser::Event::Definition

Inherits:
Object
  • Object
show all
Includes:
Native
Defined in:
opal/browser/event/base.rb

Overview

Instance Method Summary collapse

Instance Method Details

#bubbles=(value) ⇒ Object

Set the event as bubbling.



19
20
21
# File 'opal/browser/event/base.rb', line 19

def bubbles=(value)
  `#@native.bubbles = #{value}`
end

#cancelable=(value) ⇒ Object

Set the event as cancelable.



24
25
26
# File 'opal/browser/event/base.rb', line 24

def cancelable=(value)
  `#@native.cancelable = #{value}`
end