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 :: javascript redirect to route laravel 
Javascript :: replace comma by new line in js 
Javascript :: relode div 
Javascript :: a href javascript void 
Javascript :: how to get time and date from iso string javascript 
Javascript :: js matrix 
Javascript :: query selector has clas 
Javascript :: show ajax error wordpress 
Javascript :: jquery json object 
Javascript :: push items to associative array jquery 
Javascript :: format time in moment 
Javascript :: (intermediate value).getdate is not a function 
Javascript :: object iterate in javascript 
Javascript :: set headers in express 
Javascript :: time calculator js 
Javascript :: javascript change dataset value 
Javascript :: regex any character 
Javascript :: js array copy not reference 
Javascript :: javascript onclick image 
Javascript :: hide a div when user clicks outside of it 
Javascript :: run build version react 
Javascript :: toast in react native 
Javascript :: .textcontent 
Javascript :: jquery select specific radio button by value 
Javascript :: javascript check if number is hexadecimal 
Javascript :: if else short term 
Javascript :: react native remove text from string 
Javascript :: include jsp in another jsp 
Javascript :: convert string to date using moment 
Javascript :: javascript enumerate with index 
ADD CONTENT
Topic
Content
Source link
Name
7+5 =