I get data from socket io this JSON every 10 sec..
data { "nr": "1" }
data { "nr": "2" }
.
.
.
.
data { "nr": "5555" }
I have this function in ts:
....
mydata:any;
constructor(private zone:NgZone) {
super()
}
....
socketIO.on('hello', (data) => {
this.zone.run(()=> {
console.log('data', data);
this.mydata= data;
});
});
in html Nativescript:
Now, the problem is in view, I want to print in view all data, 1, 2, 3, 4,..., 5555
not only end of point 5555
Any idea please how to print all data?
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)