Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

How to get one items from my Firebase realtime Database with Angular Ionic

this.afAuth.authState.subscribe(
  (res)=>{
    this.profileData = res.uid;
    console.log(this.profileData);      
  }
  this.db.list("users/"+this.profileData).valueChanges().subscribe(details => {
    this.name =details["name"];
    this.prenom = details["prenom"];
    console.log(details);  
  })
)
Comment

PREVIOUS NEXT
Code Example
Javascript :: Why am I getting an error, "ReferenceError: categories is not defined" in AngularJS 
Javascript :: AngularJS Form validation transition to valid when some elements are not even touched yet 
Javascript :: How to merge array into JSON array 
Javascript :: how to set a condition so that between the first and second mouse clicks there was a delay not 500mls 
Javascript :: Changing Component File location in React native does not show in main App 
Javascript :: Using useEffect with async 
Javascript :: Check if a user joins, leaves, or moves channels discord.js 
Javascript :: how to make colspan of table footer flexible with javascript/jQuery 
Javascript :: ngrx let 
Javascript :: get lat long from address google api 
Javascript :: restrict file input with react uploady 
Javascript :: How to access POST form fields in Express 
Javascript :: to fix a broken class oop javascript 
Javascript :: Alternative Bind() Syntax For JavaScript 
Javascript :: Simple Mustache.js 
Javascript :: how to set socket io into global express 
Javascript :: javascript looping through array 
Javascript :: get longi and long with an adress react 
Javascript :: This Refers To The Window Object Here 
Javascript :: underscore js filter array of objects 
Javascript :: Next / Sanity SSR client fetch 
Javascript :: Calculator for two numbers 
Javascript :: Using an object of functions as a parameter into a function 
Javascript :: prisma bytes 
Javascript :: useState intro 
Javascript :: mogodb user get 
Javascript :: strictPopulate 
Javascript :: add even javascript 
Javascript :: react native componentdidmount in function 
Javascript :: javascript binary tree 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =