* Scrolls to the content item within the `ui5-wizard` shadowDOM * by given step index. * @private * @param stepIndex the index of a step
(stepIndex: number)
| 952 | * @param stepIndex the index of a step |
| 953 | */ |
| 954 | scrollToContentItem(stepIndex: number) { |
| 955 | this.contentDOM.scrollTop = this.getClosestScrollPosByStepIndex(stepIndex); |
| 956 | } |
| 957 | |
| 958 | /** |
| 959 | * Returns to closest scroll position for the given step index. |
no test coverage detected