(state: string)
| 46 | } |
| 47 | |
| 48 | addState(state: string) { |
| 49 | if (!this.states.has(state)) { |
| 50 | this.states.add(state); |
| 51 | document.documentElement.classList.add(`lc-cursor-${state}`); |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | private removeState(state: string) { |
| 56 | if (this.states.has(state)) { |
no test coverage detected