antvis/G2

v5 beta 5: how to completely disable animation #4535

sspilleman posted onGitHub

Hi,

Is there a way to completely disable all animation? If not, I would like to enter this as an enhancement request 👍

Now I'm using:

  .animate("enterDelay", 0)
  .animate("enterDuration", 0)

But I assume "some animation code" is still beging executed, potentially causing performance impact which I want to get rid of.

Thanks a lot,

Sander


try to pass false to the api.

.animate(false);

posted by hustcc over 2 years ago

Fund this Issue

$0.00
Funded

Pull requests