vivus icon indicating copy to clipboard operation
vivus copied to clipboard

Is there any option to draw svg on scroll?

Open ghost opened this issue 2 years ago • 1 comments

Is there any given option to draw SVG based on scroll position?

ghost avatar Aug 23 '22 11:08 ghost

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.

maxwellito avatar Sep 01 '22 22:09 maxwellito