.. _dojox/widget/rotator/Wipe: dojox.widget.rotator.Wipe ========================= :Authors: Chris Barber :Project owner: Chris Barber :Available: since V1.4 .. contents:: :depth: 2 A wipe transition for a :ref:`dojox.widget.Rotator ` or :ref:`dojox.widget.AutoRotator `. ===== Usage ===== The wipe rotator transition is not an instantiated object, but rather a series of functions which consist of: * wipeDown() - Returns a dojo.Animation that wipes in the next rotator pane from the top. * wipeRight() - Returns a dojo.Animation that wipes in the next rotator pane from the right. * wipeUp() - Returns a dojo.Animation that wipes in the next rotator pane from the bottom. * wipeLeft() - Returns a dojo.Animation that wipes in the next rotator pane from the left. These functions are invoked by the rotator and may be different per pane. Each function is passed an object containing the "transitionParams" along with the rotator's current and next pane which are to be panned, then returns a dojo.Animation object describing the animated sequence. ======== Examples ======== Programmatic example -------------------- Example of a different wipe direction for each pane. .. code-example:: :version: local .. css:: .. javascript:: .. html::
Declarative example ------------------- Example of a different wipe direction for each pane. .. code-example:: :version: local .. css:: .. javascript:: .. html::
Pane 0
Pane 1 will wipe in from the top
Pane 1
Pane 2 will wipe in from the right
Pane 2
Pane 0 will use the default transition to wipe in from the left
======== See also ======== * :ref:`dojox.widget.Rotator ` rotates through a series of panes using a transitions. * :ref:`dojox.widget.AutoRotator ` adds automatic rotating to a Rotator. * :ref:`dojox.widget.rotator.Fade ` is a fade and crossfade transition for the Rotator. * :ref:`dojox.widget.rotator.Pan ` is a pan and continuous pan transition for the Rotator. * :ref:`dojox.widget.rotator.Slide ` is a sliding transition for the Rotator.