from Transition Options
Deprecated
use fromTransitionOptions instead
Create a transition property based on duration and a delay.
Return
a new transition property object
Parameters
duration
the duration of the transition
delay
the delay to start the transition