Re: [csswg-drafts] [view-transitions-2] Add method to get all animations of a ViewTransition object (#9908)

FWIW, I agree with `ViewTransition.getAnimations()`, it's just the `Element.getAnimations()` with a pseudo option is more general. I can't really think of any use cases for it though.

I agree that transition root is something that's useful. Would then `viewtransition.getTransitionRoot().getAnimations({ pseudo: "::view-transition", subtree: true })` work? :)

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


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

Received on Tuesday, 11 June 2024 19:42:45 UTC