* Starts the animation and returns the AnimationPlayer object that can be * used to monitor and control the animation. * * @param {!TimestampDef} duration Absolute time in milliseconds. * @return {!AnimationPlayer}
(duration)
| 104 | * @return {!AnimationPlayer} |
| 105 | */ |
| 106 | start(duration) { |
| 107 | const player = new AnimationPlayer( |
| 108 | this.vsync_, |
| 109 | this.contextNode_, |
| 110 | this.segments_, |
| 111 | this.curve_, |
| 112 | duration |
| 113 | ); |
| 114 | return player; |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | /** |
no outgoing calls
no test coverage detected