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

Another approach would be something like `document.documentElement.getAnimations({ pseudo: "::view-transition", subtree: true });` which would only get the subtree of the `::view-transition` pseudo. That doesn't currently exist, but it's similar to `getComputedStyle(element, pseudo)`

-- 
GitHub Notification of comment by vmpstr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9908#issuecomment-2161448151 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:17:46 UTC