@antv/g2plot
Version:
G2 Plot, a market of plots built with the Grammar of Graphics'
16 lines • 438 B
JavaScript
import * as _ from '@antv/util';
var ApplyResponsive = /** @class */ (function () {
function ApplyResponsive(cfg) {
_.assign(this, cfg);
this.init();
}
ApplyResponsive.prototype.init = function () {
this.type = this.getType();
if (this.shouldApply()) {
this.apply();
}
};
return ApplyResponsive;
}());
export default ApplyResponsive;
//# sourceMappingURL=base.js.map