Skip to content

Interface

The transition functions and variables.

Properties

PropertyTypeNotes
durationDuration

The duration variables for the transitions.

easingEasing

The easing variables for the transitions.

duration

Interface Property

easing

Interface Property

Methods

MethodReturnsNotes
create(props, options)string

The function to create transitions.

getAutoHeightDuration(height?)number

The function to get the auto height duration.

create

Interface Method
create(propsstring | string[], optionsPartial<TransitionCreateOptions>): string

The function to create transitions.

Parameters
ParameterTypeDefault
propsstring | string[]...
optionsPartial<TransitionCreateOptions>{}
Returns 
string

getAutoHeightDuration

Interface Method
getAutoHeightDuration(height?number): number

The function to get the auto height duration.

Parameters
ParameterType
heightnumber
Returns 
number

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.