firstcommit

This commit is contained in:
2025-08-17 16:23:14 +05:45
commit 76bf4c0a18
2648 changed files with 362795 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
// The alpine:init event listener is triggered when Alpine.js initializes on the webpage.
document.addEventListener('alpine:init', () => {
// Inside the callback function, Alpine.data() is used to define a new Alpine.js component named "loader."
Alpine.data('loader', () => ({
loading: true,
showLoader() {
this.loading = true;
document.body.classList.add('backdrop');
},
hideLoader() {
this.loading = false;
document.body.classList.remove('backdrop');
}
}));
});