- From: CSS Meeting Bot via GitHub <noreply@w3.org>
- Date: Wed, 13 Aug 2025 17:02:11 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[web-animations-2][css-animations-2] How do AnimationTriggers attach to animations?`, and agreed to the following: * `RESOLVED: add three methods to AnimationTrigger interface: addAnimation, removeAnimation and getAnimations` <details><summary>The full IRC log of that discussion</summary> <fantasai> futhark, see https://fantasai.inkedblade.net/style/specs/css-anchor-exploration/#fallback !<br> <JoshT> DavidA: this is related to animation triggers<br> <JoshT> ... simple naming issue. we just want to define a few functions on animation trigger object<br> <JoshT> ... functions defined in web animations spec<br> <JoshT> ... addAnimation which attaches the animation to the trigger<br> <JoshT> ... removeAnimation to remove<br> <JoshT> ... and getAnimations<br> <astearns> ack fantasai<br> <JoshT> astearns: suggestions for just add and remove instead of addAnimation, etc. but Rob is not happy with that but he's not on the call<br> <JoshT> fantasai: seems reasonable to me. question about do you want to add the animations to the trigger or trigger to the animations?<br> <JoshT> DavidA: we started the other way around, when still thinking of triggers as an internal part of an animation<br> <JoshT> ... but we think it should be outside.<br> <JoshT> ... as a function to add the animation to the trigger<br> <JoshT> ... I don't think there's much of a conceptual difference<br> <JoshT> ... we could add an animation triggers interface<br> <JoshT> ... but for now, it's useful to expand the animation trigger interface as an independent thing that can attach animations<br> <JoshT> fantasai: I have no opinion. just checking.<br> <JoshT> DavidA: in Rob's comment before, he suggested ???? interface<br> <JoshT> ... it does have some logic that goes with it where you attach the animation to a trigger<br> <astearns> s/????/AnimationTrigger.animations.add/<br> <JoshT> ... but you can pause the animation trigger to be in affect before the animation starts to play<br> <JoshT> ... if we just have AnimationTrigger.animations.set interface, that's just a generic set interface<br> <JoshT> ... we don't have a way to implement the logic for all the animations it should have if we just have an add method<br> <bramus> +1 to adding the two methods<br> <JoshT> astearns: the smallest first step would be to add the new methods addAnimation and removeAnimation fro now<br> <JoshT> DavidA: bramus thought about having getAnimations as well<br> <bramus> and +1 to the extra getAnimations as well :)<br> <JoshT> PROPOSED: add three methods to AnimationTrigger interface: addAnimation, removeAnimation and getAnimations<br> <JoshT> RESOLVED: add three methods to AnimationTrigger interface: addAnimation, removeAnimation and getAnimations<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12397#issuecomment-3184728017 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 13 August 2025 17:02:12 UTC