createSimpleClassTransition(
config):TransitionFn
Create a transition based on css classes to attach.
The config includes the classes that will be attached / removed depending on the transition state.
animationPendingClasses are the classes attached when the transition is in a pending state
animationPendingShowClasses and animationPendingHideClasses are attached when transitioning towards one direction
showClasses and hideClasses are attached when the transition has reached the show or hide state respectively
the transition config
the simple class transition
Configuration interface for simple class-based transitions.
optionalanimationPendingClasses:string[]
a list of classes to add to the collapsable element while transitioning
optionalanimationPendingHideClasses:string[]
a list of classes to add to the collapsable element while transitioning towards the hide state
optionalanimationPendingShowClasses:string[]
a list of classes to add to the collapsable element while transitioning towards the show state
optionalhideClasses:string[]
the list of classes to add to the element when hidden
optionalshowClasses:string[]
the list of classes to add to the element when shown
Represents the context for a simple class transition.
optionalstarted:boolean
true is the transition has started