User:Mantaroh/Scroll-driven animations: Difference between revisions

Jump to navigation Jump to search
Update implement overview.
(Update sample code.)
(Update implement overview.)
Line 63: Line 63:


== Implement overview ==
== Implement overview ==
We need to implement several features as follow.
  - Notify the scroll value to ScrollTimeline from scroll containers.
  - ScrollTimeline should implement AnimationTimeline interface and RefreshObserver interface.
  - ScrollTimeline need to remain the scroll value which notified from scroll container.
  - ScrollTimeline need to override AnimationTimeline::GetCurrentTime in order to notify current progress of aninmation to own animations.
[Memo]
- e10s の時どうする?
  -> window から通知されるスクロール量をコンテンツ側の ScrollTimeline へ通知する必要がある


== Problem of implementation. ==
== Problem of implementation. ==
28

edits

Navigation menu