()
| 293 | } |
| 294 | |
| 295 | _getAnimationDuration() { |
| 296 | if (this._animationsDisabled) { |
| 297 | return '0ms'; |
| 298 | } |
| 299 | |
| 300 | if (this.animationDuration) { |
| 301 | return this.animationDuration; |
| 302 | } |
| 303 | |
| 304 | return this.orientation === 'horizontal' ? '500ms' : '225ms'; |
| 305 | } |
| 306 | |
| 307 | private _handleTransitionend = (event: TransitionEvent) => { |
| 308 | const target = event.target as HTMLElement | null; |