Transition
A transition
property controls timing for the interpolation between a transitionable style property's previous value and new value. A style's root transition
property provides global transition defaults for that style.
"transition": {
"duration": 300,
"delay": 0
}
Any transitionable layer property, marked by *-transition
property, defined in the layer's paint
or layout
properties, that defines specific transition timing, overriding the global transition
values.
"fill-opacity-transition": {
"duration": 300,
"delay": 0
}
delay
Length of time before a transition begins.
duration
Time allotted for transitions to complete.
このpageは役に立ちましたか?