(duration: number = 350, nativeCurve: UIViewAnimationCurve = UIViewAnimationCurve.EaseInOut)
| 9 | private _curve: UIViewAnimationCurve; |
| 10 | |
| 11 | constructor(duration: number = 350, nativeCurve: UIViewAnimationCurve = UIViewAnimationCurve.EaseInOut) { |
| 12 | this._duration = duration ? duration / 1000 : CORE_ANIMATION_DEFAULTS.duration; |
| 13 | this._curve = nativeCurve; |
| 14 | transitionId++; |
| 15 | this.id = transitionId; |
| 16 | } |
| 17 | |
| 18 | public getDuration(): number { |
| 19 | return this._duration; |
nothing calls this directly
no outgoing calls
no test coverage detected