* Handles resize in order to: * (1) sync steps' scroll offset and selection * (2) adapt navition step header * @private
()
| 466 | * @private |
| 467 | */ |
| 468 | onStepResize() { |
| 469 | this.width = this.getBoundingClientRect().width; |
| 470 | this.contentHeight = this.getContentHeight(); |
| 471 | |
| 472 | if (this._prevWidth !== this.width || this.contentHeight !== this._prevContentHeight) { |
| 473 | this._closeRespPopover(); |
| 474 | } |
| 475 | |
| 476 | this._prevWidth = this.width; |
| 477 | this._prevContentHeight = this.contentHeight; |
| 478 | } |
| 479 | |
| 480 | attachStepsResizeObserver() { |
| 481 | this.stepsDOM.forEach(stepDOM => { |
nothing calls this directly
no test coverage detected