Class: Moon::ResizeEvent

Inherits:
Event show all
Defined in:
lib/moon/packages/std/event.rb

Overview

Event triggered when an Object resizes

Instance Attribute Summary collapse

Attributes inherited from Event

#id, #type

Instance Method Summary collapse

Methods inherited from Event

make_filter

Constructor Details

#initialize(parent) ⇒ ResizeEvent

Returns a new instance of ResizeEvent.

Parameters:


213
214
215
216
# File 'lib/moon/packages/std/event.rb', line 213

def initialize(parent)
  @parent = parent
  super :resize
end

Instance Attribute Details

#parentRenderContainer

Returns parent render context of this event.

Returns:


210
211
212
# File 'lib/moon/packages/std/event.rb', line 210

def parent
  @parent
end