spz-odometer
Let a number display in an odometer animation when it is visible.
Layouts
跳转到“Layouts”Usage
跳转到“Usage”<spz-odometer
layout="container"
start-value="0"
end-value="188"
duration="3000"
></spz-odometer>
Attributes
跳转到“Attributes”start-value
跳转到“start-value”required
A number that start the value of the animation. Its default value is 0.
end-value
跳转到“end-value”required
A number that end the value of the animation. Its default value is 0.
duration
跳转到“duration”A milliseconds, defaults to 2000. Specifies the duration of the animation.
format
跳转到“format”Format of digital presentation. Its default value is (,ddd).d.