(container)
| 59 | |
| 60 | class FromBehavior extends TimelineBehavior { |
| 61 | onDisplaying(container) { |
| 62 | let timeline = this.timeline = new Timeline(); |
| 63 | let one=container.first, two=one.next, three=two.next, four=container.last, size=one.width; |
| 64 | let r=container.x+container.width-size, b=container.y+container.height-size; |
| 65 | timeline.from(one, { state: 3 }, 500, Math.quadEaseOut, 0); |
| 66 | timeline.from(two, { x: r, state: 3 }, 500, Math.quadEaseOut, -400); |
| 67 | timeline.from(three, { x: r, y: b, state: 3 }, 500, Math.quadEaseOut, -400); |
| 68 | timeline.from(four, { y: b, state: 3 }, 500, Math.quadEaseOut, -400); |
| 69 | super.startTimeline(container); |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | class OnBehavior extends TimelineBehavior { |
nothing calls this directly
no test coverage detected