> Is it possible to use this, or is there a similar proposal, for linking > animation timeline to other user-controlled means of interacting with the UI? > > I'm thinking primarily about things like: > > - drag&drop - the percentage of the distance between the source and target > linked to the animation timeline > - touch events - unfold or move an element with a thumb on mobile triggers > an animation linked to the percentage of the distance between folded/unfolded.
Web Animations was designed with the possibility of extending it with other types of timelines in mind. ScrollTimeline is one such extension, a timeline linked to scrolling. What you describe sounds like other types of timelines, linked to user gestures. There is mention of that on the wiki [1] [2], but no concrete proposal that I'm aware of. I would imagine contributions to the development of such a proposal would be welcome! Cheers, Botond [1] https://wiki.mozilla.org/Platform/Layout/Extended_Timelines#Touch-based_scrubbing [2] https://wiki.mozilla.org/Platform/Layout/Extended_Timelines#Other_timelines _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform