YAHOO.widget.ContainerEffect
(
overlay
,
attrIn
,
attrOut
,
targetElement
,
Optional.
)
- Parameters:
-
overlay <YAHOO.widget.Overlay>
The Overlay that the animation should be associated with -
attrIn <Object>
The object literal representing the animation arguments to be used for the animate-in transition. The arguments for this literal are: attributes(object, see YAHOO.util.Anim for description), duration(Number), and method(i.e. Easing.easeIn). -
attrOut <Object>
The object literal representing the animation arguments to be used for the animate-out transition. The arguments for this literal are: attributes(object, see YAHOO.util.Anim for description), duration(Number), and method(i.e. Easing.easeIn). -
targetElement <HTMLElement>
Optional. The target element that should be animated during the transition. Defaults to overlay.element. -
Optional. <class>
The animation class to instantiate. Defaults to YAHOO.util.Anim. Other options include YAHOO.util.Motion.