Class: Browser::Event::Message::Definition

Inherits:
Definition show all
Defined in:
opal/browser/event/message.rb

Instance Method Summary collapse

Methods inherited from Definition

#bubbles=, #cancelable=

Instance Method Details

#data=(value) ⇒ Object


13
14
15
# File 'opal/browser/event/message.rb', line 13

def data=(value)
  `#@native.data = value`
end

#origin=(value) ⇒ Object


17
18
19
# File 'opal/browser/event/message.rb', line 17

def origin=(value)
  `#@native.origin = value`
end

#source=(value) ⇒ Object


21
22
23
# File 'opal/browser/event/message.rb', line 21

def source=(value)
  `#@native.source = #{Native.convert(value)}`
end