viser
Version:
viser is a toolkit fit for data vis engineer.
20 lines (14 loc) • 570 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.registerAnimation = exports.registerShape = void 0;
var G2 = require('@antv/g2');
var registerShape = function registerShape(geoName, shapeName, shapeFun) {
G2.Shape.registerShape(geoName, shapeName, shapeFun);
};
exports.registerShape = registerShape;
var registerAnimation = function registerAnimation(animationType, animationName, animationFun) {
G2.Animate.registerAnimation(animationType, animationName, animationFun);
};
exports.registerAnimation = registerAnimation;