Skip to content

Commit

Permalink
IFeathersControl: added creationComplete event and isCreated getter
Browse files Browse the repository at this point in the history
  • Loading branch information
joshtynjala committed Nov 21, 2013
1 parent 986f71d commit 218f01d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions source/feathers/core/IFeathersControl.as
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ package feathers.core
*/
[Event(name="initialize",type="starling.events.Event")]

/**
* Dispatched after the component has validated for the first time. Both
* <code>initialize()</code> and <code>draw()</code> will have been called,
* and all children will have been created.
*
* @eventType feathers.events.FeathersEventType.CREATION_COMPLETE
*/
[Event(name="creationComplete",type="starling.events.Event")]

/**
* Dispatched when the width or height of the control changes.
*
Expand Down Expand Up @@ -96,6 +105,11 @@ package feathers.core
*/
function get isInitialized():Boolean;

/**
* @copy feathers.core.FeathersControl#isCreated
*/
function get isCreated():Boolean;

/**
* @copy feathers.core.FeathersControl#nameList
*/
Expand Down

0 comments on commit 218f01d

Please sign in to comment.