()
| 186 | } |
| 187 | |
| 188 | hide(): void { |
| 189 | if (this._svg) { |
| 190 | while (this._svg.lastChild) { |
| 191 | this._svg.removeChild(this._svg.lastChild); |
| 192 | } |
| 193 | } |
| 194 | this._state = 'not-showing'; |
| 195 | } |
| 196 | |
| 197 | remove(): void { |
| 198 | if (this._svg && this._svg.parentElement) { |