Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

obeservable from an object angular

//Put an object in a observable
let myObj = {name: "Maria", age: 23};
this.myObs$ = of(myObj);
 
PREVIOUS NEXT
Tagged: #obeservable #object #angular
ADD COMMENT
Topic
Name
2+6 =