(container)
| 32 | |
| 33 | class TimelineBehavior extends Behavior { |
| 34 | startTimeline(container) { |
| 35 | let timeline = this.timeline; |
| 36 | timeline.seekTo(0); |
| 37 | container.duration = timeline.duration; |
| 38 | container.time = 0; |
| 39 | container.start(); |
| 40 | } |
| 41 | onTimeChanged(container) { |
| 42 | let time = container.time; |
| 43 | this.timeline.seekTo(time); |
no test coverage detected