()
| 2941 | }); |
| 2942 | } |
| 2943 | getState() { |
| 2944 | return { ...this.state, mode: this.state.modes[this.state.currentModeIndex] }; |
| 2945 | } |
| 2946 | setState(i) { |
| 2947 | const t = { ...this.state }; |
| 2948 | i.mode && (i.currentModeIndex = this.state.modes.indexOf(i.mode)), this.state = { ...this.state, ...i }, this._notifyStateChange(t, this.state), this.container && this.render(this.container); |
no outgoing calls
no test coverage detected