🔥 Firebase Svelte v2

<StorageList>

Props

  • storage?: FirebaseStorage - The firebase storage instance, optional if you put the <FirebaseApp> component at the root of your app, or higher than where you're using this component.
  • ref: string | StorageReference<Data> - The node reference to create the store from. Can be a string, just like posts/123 or a StorageReference.

Slots & Props

default

The default slot is rendered when data is found.

  • list: ListResult - The link to the file.
  • ref: StorageReference<Data> | null - The storage reference you gave.
  • storage: FirebaseStorage - The firebase storage instance.

loading

The loading slot. This is rendered while the data is fetching.

fallback

The fallback slot. This is rendered when the data is not found.