Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49083

Ionic passing parameters from firebase

$
0
0

Hi everyone, I’m relatively new to ionic and I need help on this. Any replies would be greatly appreciated ! Thanks :slight_smile:

  • I have stored data in my firebase and would like to retrieve them by their respective id and display it
  • The service (loan.service.ts) is already done and i just need to pass it in to my typescript (details.page.ts) but i don’t know how to.

-loan.service.ts

-details.page.ts


(i tried using
this.loanService.getLoanById(this.loanId).then(data => {
this.loan = data;
but it the page does not load and the items that were stored in the sub-collection is not shown)

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>