firebase-element icon indicating copy to clipboard operation
firebase-element copied to clipboard

Using components of firebase-element together (and provide example documentation)

Open mm-gmbd opened this issue 9 years ago • 2 comments
trafficstars

I would like to use firebase-auth to login and then load the elements for a firebase-collection or firebase-document. But, firebase-collection and firebase-document automatically run once the DOM is loaded, meaning that the auth is supposed to happen on a previous page and then be persisted across pages, I presume?

An example of using these components together would go a loooooong way for me, selfishly (but I would presume others would benefit as well). Something like

  • Auth with email & password
  • Use the user's uid in a query to firebase-collection or firebase-element
  • Display the result of the query

Maybe something like this exists and I'm unaware?

mm-gmbd avatar Jan 20 '16 18:01 mm-gmbd

you can take a look here: https://metanov.github.io/firebase-element-extended/components/firebase-element-extended/

GeoloeG-IsT avatar Jan 20 '16 19:01 GeoloeG-IsT

@MeTaNoV, thanks for the link! Checking it out now...

mm-gmbd avatar Jan 21 '16 16:01 mm-gmbd