Re: [css-houdini-drafts] Pass additional timelines as part of additional options and only have a single timeline in constructor.

_From @birtles on July 26, 2017 2:0_

A few bits of feedback:

* I feel a little bit uneasy about the primary timeline idea, because:
  * Blessing one particular timeline feels a little odd. Is there somewhere else in the platform where we have this concept (so we can at least align terminology etc.)?
  * It seems odd that you pass different classes of timelines using very different means (regular argument vs property bag).
  * Can you change your primary timeline over time? e.g. if your hidey bar animation goes past the scroll threshold and becomes a timed animation, semantically it feels like your primary timeline has changed. If you *can* change the primary timeline, then using such different means to pass the different types of timelines seems all the more odd.
* I suspect we might find some good ideas in [WPF](https://docs.microsoft.com/en-us/dotnet/framework/wpf/graphics-multimedia/animation-overview) and event [.NET](https://msdn.microsoft.com/en-us/library/system.windows.media.animation.timeline(v=vs.110).aspx) since they deal with hierarchies of timelines, I believe.
* The idea of attaching/detaching makes sense though. (We might call it listening?)

-- 
GitHub Notification of comment by majido
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/810#issuecomment-417053751 using your GitHub account

Received on Wednesday, 29 August 2018 18:19:08 UTC