1document.addEventListener('alpine:init', () => { 2 Alpine.data('submitButton', () => ({ 3 loading: false, 4 5 toggleLoading() { 6 this.loading = !this.loading; 7 }, 8 9 btn: { 10 ['@click']() { 11 this.toggleLoading(); 12 // Reset the button after 1s 13 setTimeout(() => { 14 this.toggleLoading(); 15 }, 1000); 16 }, 17 [':class']() { 18 return this.loading && 'loading disabled'; 19 }, 20 }, 21 })); 22});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.