1 |
|
2 |
|
3 | import { fadeIn, fadeOut } from '@antv/g2/lib/animate/animation/fade';
|
4 | import { growInX, growInXY, growInY } from '@antv/g2/lib/animate/animation/grow-in';
|
5 | import { pathIn } from '@antv/g2/lib/animate/animation/path-in';
|
6 | import { positionUpdate } from '@antv/g2/lib/animate/animation/position-update';
|
7 | import { scaleInX, scaleInY } from '@antv/g2/lib/animate/animation/scale-in';
|
8 | import { sectorPathUpdate } from '@antv/g2/lib/animate/animation/sector-path-update';
|
9 | import { waveIn } from '@antv/g2/lib/animate/animation/wave-in';
|
10 | import { zoomIn, zoomOut } from '@antv/g2/lib/animate/animation/zoom';
|
11 | import { registerAnimation } from '@antv/g2/lib/core';
|
12 |
|
13 | registerAnimation('fade-in', fadeIn);
|
14 | registerAnimation('fade-out', fadeOut);
|
15 | registerAnimation('grow-in-x', growInX);
|
16 | registerAnimation('grow-in-xy', growInXY);
|
17 | registerAnimation('grow-in-y', growInY);
|
18 | registerAnimation('scale-in-x', scaleInX);
|
19 | registerAnimation('scale-in-y', scaleInY);
|
20 | registerAnimation('wave-in', waveIn);
|
21 | registerAnimation('zoom-in', zoomIn);
|
22 | registerAnimation('zoom-out', zoomOut);
|
23 | registerAnimation('position-update', positionUpdate);
|
24 | registerAnimation('sector-path-update', sectorPathUpdate);
|
25 | registerAnimation('path-in', pathIn);
|