Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

how to delete file from firebase storage on web

// firebase V9 delete file from storage
import { ref, deleteObject } from "firebase/storage";

async function deleteFile() {
      const fileRef = ref(storage, fileLocation);
      const snapshot = await deleteObject(fileRef);
      console.log(snapshot);
}
Comment

PREVIOUS NEXT
Code Example
Javascript :: javascript long integer 
Javascript :: convert arraybuffer to file javascript 
Javascript :: check if item not in array node js 
Javascript :: create a solid.js project 
Javascript :: how to check value is array or not in javascript 
Javascript :: does filter mutate array 
Javascript :: sequelize init connection set up nodejs node 
Javascript :: redirect http to https express js 
Javascript :: Terminating timed out worker 
Javascript :: jquery confirmation dialog example 
Javascript :: bootstrap datepicker options 
Javascript :: Javascript random password generator Exampe 
Javascript :: display content in a modal react 
Javascript :: jquery show password 
Javascript :: @ media min and max width material ui 
Javascript :: es6 array sum javascript 
Javascript :: javascript override shortcut 
Javascript :: confirm javascript 
Javascript :: Encountered two children with the same key, `undefined`. flatlist 
Javascript :: javascript get all methods of class 
Javascript :: react-native razorpay 
Javascript :: javascript get currency symbol from locale 
Javascript :: javascript collection to array 
Javascript :: js make id 
Javascript :: add regexp to antd 
Javascript :: react prevstate 
Javascript :: js create array from for loop 
Javascript :: npx http server 
Javascript :: jquery mobile or desktop 
Javascript :: jquery next sibling with class 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =