@antv/g2
Version:
the Grammar of Graphics in Javascript
26 lines • 811 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var state_1 = tslib_1.__importDefault(require("./state"));
/**
* @ignore
* 允许多选的 Action
* @class
*/
var ElementMultipleSelected = /** @class */ (function (_super) {
tslib_1.__extends(ElementMultipleSelected, _super);
function ElementMultipleSelected() {
var _this = _super !== null && _super.apply(this, arguments) || this;
_this.stateName = 'selected';
return _this;
}
/**
* 选中节点,允许多选
*/
ElementMultipleSelected.prototype.selected = function () {
this.setState();
};
return ElementMultipleSelected;
}(state_1.default));
exports.default = ElementMultipleSelected;
//# sourceMappingURL=selected.js.map