Class: Browser::Event::Focus::Definition

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

Instance Method Summary collapse

Methods inherited from UI::Definition

#detail=

Methods inherited from Definition

#bubbles=, #cancelable=

Instance Method Details

#related=(elem) ⇒ Object


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

def related=(elem)
  `#@native.relatedTarget = #{Native.convert(elem)}`
end

#view=(value) ⇒ Object


9
10
11
# File 'opal/browser/event/focus.rb', line 9

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