<tap-rolling-number>
数字滚动动画组件。值变化时,每一位数字垂直滚动到新值,过渡过程中带有模糊效果。动画先慢后快再减速,动画中途修改值会无缝衔接。
Playground
Loading...<></>
Loading...<></>
Loading...<></>
Loading...<></>
Loading...<></>
API
Shadow DOM; Extends GemElement
Instance Properties
| Property(Attribute) | Reactive | Type |
|---|---|---|
value(value) |
Yes | number |
duration(duration) |
Yes | number |
easing(easing) |
Yes | EasingType |
maxblur(maxblur) |
Yes | number |
align(align) |
Yes | 'left' | 'right' |
Other
| Type | Value |
|---|---|
| Part | digit, separator |
