Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

livewire upload file progress indicator

window.addEventListener('livewire-upload-start', event => {
  console.log('upload started');
});
window.addEventListener('livewire-upload-finished', event => {
  console.log('upload finished');
});
window.addEventListener('livewire-upload-error', event => {
  console.log('upload error');
});
window.addEventListener('livewire-upload-progress', event => {
  console.log(`${event.detail.progress}%`);
});
Comment

PREVIOUS NEXT
Code Example
Javascript :: bootstrap in react 
Javascript :: discord.js send embed 
Javascript :: js click element 
Javascript :: javascript download csv 
Javascript :: fetch api map 
Javascript :: nodejs check if express started 
Javascript :: store id of an element jquery 
Javascript :: js array find string element with max length 
Javascript :: usestate array delete 
Javascript :: javascript sort array strings alphabetically 
Javascript :: add zero in front of numbers javascript 
Javascript :: node js query get :id param 
Javascript :: jquery validate checkbox before submit 
Javascript :: react multiple event handlers] 
Javascript :: remove empty element from array js 
Javascript :: array of refs react 
Javascript :: express trust proxy 
Javascript :: angular right click 
Javascript :: assign key and value to object 
Javascript :: react 17 hot reload not working 
Javascript :: jquery get id 
Javascript :: mysql connection in node js 
Javascript :: how to get ip address javascript 
Javascript :: window is not defined Next Js 
Javascript :: daterangepicker set maxdate 
Javascript :: javscript foreach with click listener 
Javascript :: how to get object keys and values in javascript 
Javascript :: react native text input right 
Javascript :: javascript parse xml 
Javascript :: javascript join 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =