UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

26 lines 768 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var list_state_1 = tslib_1.__importDefault(require("./list-state")); /** * 列表项(图例项、坐标轴文本)激活的 Action * @class * @ignore */ var ListActive = /** @class */ (function (_super) { tslib_1.__extends(ListActive, _super); function ListActive() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.stateName = 'active'; return _this; } /** * 激活选项 */ ListActive.prototype.active = function () { this.setState(); }; return ListActive; }(list_state_1.default)); exports.default = ListActive; //# sourceMappingURL=list-active.js.map