Answers for "upload image in firebase storage"

1

upload image in firebase storage

var fileButton = document.getElementById('upload');
fileButton.addEventListener('change', function(e) 
      {
			var file = e.target.files[0];
			var storage = firebase.storage();
 			var gsReference = storage.ref('img/' + file.name).getDownloadURL().then((url) => {
 	});
Posted by: Guest on October-20-2021

Code answers related to "upload image in firebase storage"

Code answers related to "Javascript"

Browse Popular Code Answers by Language