Carousel Animation
VTable provides carousel animation plugin, which can implement the carousel scrolling animation effect of the table.
Carousel Animation Configuration
CarouselAnimationPlugin
carousel animation plugin, can configure the following parameters:rowCount
scroll row count in a carousel animationcolCount
scroll column count in a carousel animationanimationDuration
The duration of a single carousel animation, in millisecondsanimationDelay
The delay of a single carousel animation, in millisecondsanimationEasing
The easing function of a single carousel animationreplaceScrollAction
Whether to replace the scroll action, if true, the scroll action will be replaced by the carousel animation
For specific usage, please refer to demo
Carousel Animation API
play
Start carousel animation.
carouselAnimationPlugin.play()
pause
Pause carousel animation.
carouselAnimationPlugin.pause()
reset
Reset carousel animation.
carouselAnimationPlugin.reset()