Files
SnowLuma/.pnpm-store/v11/files/f1/9d7c3d07249007d7bdf0bca52c466893ae98c0d8860a2b2fbfb09869a948832fdec6706e9bb62208aacf80d7041b5a270f2009a6b0a84c698435c713777eb1
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

14 lines
419 B
Plaintext

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