Provides the implementation of view transitions for
browsers which support native CSS3 transitions.
When this module is used,
Y.App.TransitionsNative will automatically mix
itself in to
Dequeues any pending calls to
Note: When there is more than one queued transition, only the most
activeView change will be visually transitioned, while the others
will have their
transition option overridden to
Returns an object containing a named fx for both
based on the relationship between the specified
An object containing a named fx for both
Queues calls to
_uiTransitionActiveView() to make sure a currently running
transition isn't interrupted.
Note: This method prevents the default
_uiSetActiveView() method from
Performs the actual change of this app's
activeView by visually
transitioning between the
oldView using any specified
newView is attached to the app by rendering it to the
and making this app a bubble target of its events.
oldView is detached from the app by removing it from the
viewContainer, and removing this app as a bubble target for its events.
oldView will either be preserved or properly destroyed.
Note: This method overrides
_uiSetActiveView() and provides all of its
functionality plus supports visual transitions. Also, the
attribute is read-only and can be changed by calling the
The View which is now this app's
The View which was this app's
Optional object containing any of the following properties:
Optional callback function to call
activeView is ready to use, the function will be passed:
view should be
prepended instead of appended to the
view should be rendered.
Note: If no value is specified, a view instance will only be
rendered if it's newly created by this method.
[transition]Boolean | String optional
Optional transition override.
A transition can be specified which will override the default, or
false for no transition.
Whether an existing view should
have its attributes updated by passing the
config object to its
setAttrs() method. Note: This option does not have an effect if
view instance is created as a result of calling this method.