Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo-mod-jslibs-dist.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'alpinejs/packages/intersect/builds/cdn.js')
-rw-r--r--alpinejs/packages/intersect/builds/cdn.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/alpinejs/packages/intersect/builds/cdn.js b/alpinejs/packages/intersect/builds/cdn.js
new file mode 100644
index 0000000..11f6360
--- /dev/null
+++ b/alpinejs/packages/intersect/builds/cdn.js
@@ -0,0 +1,5 @@
+import intersect from '../src/index.js'
+
+document.addEventListener('alpine:init', () => {
+ window.Alpine.plugin(intersect)
+})