dojox/css3/transition (version 1.10)

Summary

This module defines the transition utilities which can be used to perform transition effects based on the CSS Transition standard.

Usage

transition(args);
Parameter Type Description
args Object
Optional

The arguments which will be mixed into this transition object.

Property Summary

Method Summary

  • _applyState(state)
  • _beforeClear()
  • _beforeStart()
  • _removeState(state)
  • beforeClear() The callback which will be called right after the end of the transition effect and before the final state is cleared.
  • beforeStart() The callback which will be called right before the start of the transition effect.
  • chainedPlay(args) The method which plays multiple transitions one by one.
  • clear() Method to clear the state after a transition.
  • fade(node,config) Method which is used to create the transition object of fade effect.
  • flip(node,config) Method which is used to create the transition object of flip effect.
  • getWaitingList(nodes)
  • groupedPlay(args) The method which groups multiple transitions and plays them together.
  • initState() Method to initialize the state for a transition.
  • play() Plays the transition effect defined by this transition object.
  • slide(node,config) Method which is used to create the transition object of a slide effect.
  • start() Method to start the transition.

Event Summary

  • _onAfterEnd()
  • onAfterEnd() The callback which will be called right after the end of the transition effect and after the final state is cleared.

Properties

autoClear
Defined by: dojox/css3/transition
deferred
Defined by: dojox/css3/transition
direction
Defined by: dojox/css3/transition
duration
Defined by: dojox/css3/transition
endState
Defined by: dojox/css3/transition
in
Defined by: dojox/css3/transition
node
Defined by: dojox/css3/transition
playing
Defined by: dojox/css3/transition
startState
Defined by: dojox/css3/transition

Methods

_applyState(state)
Parameter Type Description
state undefined
_beforeClear()
_beforeStart()
_removeState(state)
Parameter Type Description
state undefined
beforeClear()

The callback which will be called right after the end of the transition effect and before the final state is cleared.

beforeStart()

The callback which will be called right before the start of the transition effect.

chainedPlay(args)

The method which plays multiple transitions one by one.

Parameter Type Description
args Array

The array of transition objects which will be played in a chain.

clear()

Method to clear the state after a transition.

fade(node,config)

Method which is used to create the transition object of fade effect.

Parameter Type Description
node undefined

The node that the fade transition effect will be applied on.

config undefined

The cofig arguments which will be mixed into this transition object.

flip(node,config)

Method which is used to create the transition object of flip effect.

Parameter Type Description
node undefined

The node that the flip transition effect will be applied on.

config undefined

The cofig arguments which will be mixed into this transition object.

getWaitingList(nodes)
Parameter Type Description
nodes Array
Returns:undefined
groupedPlay(args)

The method which groups multiple transitions and plays them together.

Parameter Type Description
args Array

The array of transition objects which will be played together.

Returns:undefined
initState()

Method to initialize the state for a transition.

play()

Plays the transition effect defined by this transition object.

slide(node,config)

Method which is used to create the transition object of a slide effect.

Parameter Type Description
node undefined

The node that the slide transition effect will be applied on.

config undefined

The cofig arguments which will be mixed into this transition object.

start()

Method to start the transition.

Events

_onAfterEnd()
Defined by: dojox/css3/transition
onAfterEnd()
Defined by: dojox/css3/transition

The callback which will be called right after the end of the transition effect and after the final state is cleared.

Error in the documentation? Can’t find what you are looking for? Let us know!