1 | import { __extends } from "tslib";
|
2 | import StateAction from './state';
|
3 | /**
|
4 | * 元素 active 的 Action,允许多个元素同时 active
|
5 | * @class
|
6 | * @ignore
|
7 | */
|
8 | var ElementActive = /** @class */ (function (_super) {
|
9 | __extends(ElementActive, _super);
|
10 | function ElementActive() {
|
11 | var _this = _super !== null && _super.apply(this, arguments) || this;
|
12 | _this.stateName = 'active';
|
13 | return _this;
|
14 | }
|
15 | /**
|
16 | * Active Element
|
17 | */
|
18 | ElementActive.prototype.active = function () {
|
19 | this.setState();
|
20 | };
|
21 | return ElementActive;
|
22 | }(StateAction));
|
23 | export default ElementActive;
|
24 | //# sourceMappingURL=active.js.map |
\ | No newline at end of file |