Control animation through the promise result of the animate() method

This issue has been tracked since 2021-10-05.

Currently, the chart's animate() method returns a promise. The starting animation can be controlled (pause/play/seek) through the chart's animation property.

let anim = chart.animate();
chart.animation.pause();

This two entity should be integrated together. The desired usage would be:

let anim = chart.animate();
anim.pause();

Current implementation:
https://github.com/vizzuhq/vizzu-lib/blob/main/src/apps/weblib/js-api/vizzu.js
https://github.com/vizzuhq/vizzu-lib/blob/main/src/apps/weblib/js-api/animcontrol.js

More Details About Repo
Owner Name vizzuhq
Repo Name vizzu-lib
Full Name vizzuhq/vizzu-lib
Language JavaScript
Created Date 2021-06-07
Updated Date 2022-11-22
Star Count 1630
Watcher Count 19
Fork Count 65
Issue Count 17

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date