Skip to main content

TransitionFunctions

Functions

linear(x)number
sine(x)number
easeInQuad(x)number
easeOutQuad(x)number
easeInOutQuad(t)number

TransitionFunctions : enum

Kind: global enum
Properties

NameTypeDefault
Linearfunctionlinear
Sinefunctionsine
EaseInfunctioneaseInQuad
EaseOutfunctioneaseOutQuad
EaseInOutfunctioneaseInOutQuad
CubicEaseInfunction

linear(x) ⇒ number

Kind: global function

ParamType
xnumber

sine(x) ⇒ number

Kind: global function

ParamType
xnumber

easeInQuad(x) ⇒ number

Kind: global function

ParamType
xnumber

easeOutQuad(x) ⇒ number

Kind: global function

ParamType
xnumber

easeInOutQuad(t) ⇒ number

Kind: global function

ParamType
tnumber