Class: Browser::Event::Definition
- Includes:
- Native
- Defined in:
- opal/browser/event/base.rb
Overview
Direct Known Subclasses
Animation::Definition, AudioProcessing::Definition, Clipboard::Definition, Close::Definition, Custom::Definition, Browser::Event::DeviceLight::Definition, Browser::Event::DeviceMotion::Definition, Browser::Event::DeviceOrientation::Definition, Browser::Event::DeviceProximity::Definition, Browser::Event::Drag::Definition, Gamepad::Definition, HashChange::Definition, Message::Definition, PageTransition::Definition, PopState::Definition, Progress::Definition, Storage::Definition, Touch::Definition, UI::Definition, Wheel::Definition
Instance Method Summary collapse
-
#bubbles=(value) ⇒ Object
Set the event as bubbling.
-
#cancelable=(value) ⇒ Object
Set the event as cancelable.
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 |