1 2 3 4 5 6 7 8 9 10 11 12 13
function filterViewAnimations(animation) { const { effect } = animation; if (!effect) return false; return (effect.target === document.documentElement && effect.pseudoElement?.startsWith("::view-transition")); } function getViewAnimations() { return document.getAnimations().filter(filterViewAnimations); } export { getViewAnimations }; //# sourceMappingURL=get-view-animations.mjs.map