Class: Browser::Event::DeviceLight
- Inherits:
-
Browser::Event
- Object
- Browser::Event
- Browser::Event::DeviceLight
- Defined in:
- opal/browser/event/device_light.rb
Defined Under Namespace
Classes: Definition
Instance Attribute Summary
Attributes inherited from Browser::Event
Class Method Summary collapse
Methods inherited from Browser::Event
aliases, #arguments, #arguments=, class_for, create, #initialize, #name, name_for, new, #off, #prevent, #prevented?, #stop, #stop!, #stopped?, #target
Constructor Details
This class inherits a constructor from Browser::Event
Class Method Details
.construct(name, desc) ⇒ Object
15 16 17 |
# File 'opal/browser/event/device_light.rb', line 15 def self.construct(name, desc) `new DeviceLightEvent(#{name}, #{desc})` end |