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