* Stores the scroll offsets of the steps, * e.g. the steps' starting point. * * **Note:** the disabled ones has negative offsets. * @private
()
| 418 | * @private |
| 419 | */ |
| 420 | storeStepScrollOffsets() { |
| 421 | this.stepScrollOffsets = this.slottedSteps.map(step => { |
| 422 | const contentItem = this.getStepWrapperByRefId(step._id); |
| 423 | return contentItem.offsetTop + contentItem.offsetHeight; |
| 424 | }); |
| 425 | } |
| 426 | |
| 427 | /** |
| 428 | * Handles user click on steps' tabs within the header. |
no test coverage detected