()
| 300 | } |
| 301 | |
| 302 | _getAnimationDuration() { |
| 303 | if (this._animationsDisabled) { |
| 304 | return '0ms'; |
| 305 | } |
| 306 | |
| 307 | if (this.animationDuration) { |
| 308 | return this.animationDuration; |
| 309 | } |
| 310 | |
| 311 | return this.orientation === 'horizontal' ? '500ms' : '225ms'; |
| 312 | } |
| 313 | |
| 314 | private _handleTransitionend = (event: TransitionEvent) => { |
| 315 | const target = event.target as HTMLElement | null; |