Resets a standalone drag item to its initial position.
()
| 581 | |
| 582 | /** Resets a standalone drag item to its initial position. */ |
| 583 | reset(): void { |
| 584 | this._rootElement.style.transform = this._initialTransform || ''; |
| 585 | this._activeTransform = {x: 0, y: 0}; |
| 586 | this._passiveTransform = {x: 0, y: 0}; |
| 587 | } |
| 588 | |
| 589 | /** Resets drag item to end of boundary element. */ |
| 590 | resetToBoundary(): void { |
nothing calls this directly
no outgoing calls
no test coverage detected