(mode: FitMode)
| 310 | } |
| 311 | |
| 312 | async setFitMode(mode: FitMode): Promise<void> { |
| 313 | if (this._fitMode === mode) return |
| 314 | this._fitMode = mode |
| 315 | if (mode === 'none') { |
| 316 | this.lastMeasuredContainerWidth = 0 |
| 317 | } |
| 318 | await this.queueRender() |
| 319 | } |
| 320 | |
| 321 | // ----------------------------------------------------------------------- |
| 322 | // Getters |
nothing calls this directly
no test coverage detected