Method: Browser::Window#parent

Defined in:
opal/browser/window.rb

#parentWindow (readonly)

Returns parent of the current window or subframe.

Returns:

  • (Window)

    parent of the current window or subframe



59
60
61
# File 'opal/browser/window.rb', line 59

def parent
  @parent ||= Browser::Window.new(`#@native.parent`)
end