11 lines
253 B
JavaScript
11 lines
253 B
JavaScript
(() => {
|
|
// slices/admin/assets/js/app.js
|
|
(function() {
|
|
document.addEventListener("alpine:init", () => {
|
|
Alpine.magic("clipboard", () => {
|
|
return (subject) => navigator.clipboard.writeText(subject);
|
|
});
|
|
});
|
|
})();
|
|
})();
|