astro-vtbot
Advanced tools
Comparing version 1.7.22 to 1.7.23
@@ -1,9 +0,1 @@ | ||
/// <reference types="astro/client" /> | ||
import { | ||
TRANSITION_AFTER_PREPARATION, | ||
TRANSITION_BEFORE_PREPARATION, | ||
TRANSITION_BEFORE_SWAP, | ||
TRANSITION_PAGE_LOAD, | ||
} from 'astro:transitions/client'; | ||
let show: () => void; | ||
@@ -35,5 +27,5 @@ let hide: () => void; | ||
if (!(initializer && lowPrio)) initializer = onPageLoad; | ||
document.addEventListener(TRANSITION_PAGE_LOAD, doInit); | ||
document.addEventListener(TRANSITION_BEFORE_PREPARATION, doShow); | ||
document.addEventListener(TRANSITION_AFTER_PREPARATION, doHide); | ||
document.addEventListener("astro:page-load", doInit); | ||
document.addEventListener("astro:before-preparation", doShow); | ||
document.addEventListener("astro:after-preparation", doHide); | ||
} | ||
@@ -40,0 +32,0 @@ |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "1.7.22", | ||
"version": "1.7.23", | ||
"description": "The 👜 Bag of Tricks ✨ for Astro's View Transitions", | ||
@@ -9,0 +9,0 @@ "homepage": "https://github.com/martrapp/astro-vtbot#readme", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
103508
1270