Re: [csswg-drafts] [web-animations-2][css-animations-2] How do AnimationTriggers attach to animations? (#12397)

> If there isn't a way to do this, would we need some custom AnimationList type like DOMTokenList of Element.classList? I think introducing a data structure like DOMTokenList, whose operations affect the element/object supplying the list, would be introducing more complexity than we need.

Good point! Though giving a better API for authors comes first here.
I have some preference for `.animations.`, but happy to defer this decision to the more experienced folks (:

-- 
GitHub Notification of comment by ydaniv
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12397#issuecomment-3024294099 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 1 July 2025 14:29:16 UTC