vivus
vivus copied to clipboard
Is there any option to draw svg on scroll?
Is there any given option to draw SVG based on scroll position?
Hi there,
Sadly the library doesn't offer a scroll library to control the drawing percentage.
Consider using a library that can trigger events when an element is visible in the viewport with percentage of visibility.
Once set up, you will be able to control the drawing percentage by using the setFrameProgress
method on your Vivus object.