Resets the container to its initial state.
()
| 633 | |
| 634 | /** Resets the container to its initial state. */ |
| 635 | private _reset() { |
| 636 | this._isDragging = false; |
| 637 | const styles = this._container.style as DragCSSStyleDeclaration; |
| 638 | styles.scrollSnapType = styles.msScrollSnapType = this._initialScrollSnap; |
| 639 | |
| 640 | this._siblings.forEach(sibling => sibling._stopReceiving(this)); |
| 641 | this._sortStrategy.reset(); |
| 642 | this._stopScrolling(); |
| 643 | this._viewportScrollSubscription.unsubscribe(); |
| 644 | this._parentPositions.clear(); |
| 645 | } |
| 646 | |
| 647 | /** Starts the interval that'll auto-scroll the element. */ |
| 648 | private _startScrollInterval = () => { |
no test coverage detected