Class TKTransitionDefinition
A virtual class that allows the definition of pre-baked transitions that can be used as parameter
for the Element.applyTransition
method. In reality, any object that provides the type of
properties instances of this class offers can be used with that method.
Defined in: ViewTransitions.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
A set of property / value pairs that are applied to the element as the transition starts.
|
|
Optional list of values to start the transition from.
|
|
The set of properties that will be transitioned.
|
|
Required list of values to transition to.
|
Field Detail
{Array}
base
A set of property / value pairs that are applied to the element as the transition starts. The properties
listed there are not supposed to be transitioned. If you wish to set a from state for a property that gets transitioned, use
the
properties
and from properties instead.
{Array}
from
Optional list of values to start the transition from. Each value in this array must match the property
at the same index in the
properties
array.
{Array}
properties
The set of properties that will be transitioned. The properties are CSS properties
of the element that will be transitioned using this definition.
{Array}
to
Required list of values to transition to. Each value in this array must match the property
at the same index in the
properties
array.