(doApply: boolean)
| 25 | } |
| 26 | |
| 27 | public apply(doApply: boolean): void { |
| 28 | if (!doApply || this.scrollTop === undefined) return; |
| 29 | this.container.scrollTop = this.scrollTop; |
| 30 | } |
| 31 | |
| 32 | private computeScrollTop(element: HTMLElement): number { |
| 33 | const height = this.container.offsetHeight; |
no outgoing calls