List all component dependencies (recursively)
This method will prepare the underlying behavior.
Optional
genericTargets: { Get the type of the specified property
Only valid after prepare
.
Return undefined
if the name is not a property.
Get the type of the specified property
Only valid after prepare
.
Return undefined
if the name is not a property.
Check whether the other
behavior is a dependent behavior of this behavior
Execute the prepare phase (an optimization phase) of this behavior
Every behavior needs this phase for better future performance. However, this phase requires a little time for execution, and requires its all dependent behaviors created. If a dependent behavior is not prepared, then its prepare phase is also executed.
Static
createCreate a behavior with classic-style definition
Static
prepareSame as prepare
method in the prototype (for backward compatibility)
Common mixin-like behavior
Each component definition contains a single root behavior. A behavior can mixin other behaviors.