You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Angular 4 and tried to do all the thing that you taught in Tutorials.
first i tried to call from the selector of FeedcardComponent.. no data fetched from their.. i have done to check data is coming from Service that's y Console.log is done but empty array is fetched... Plz look into Code and Mention my Mistakes
Dashboard Component :
export class DashboardsComponent implements OnInit {
I am using Angular 4 and tried to do all the thing that you taught in Tutorials.
first i tried to call from the selector of FeedcardComponent.. no data fetched from their.. i have done to check data is coming from Service that's y Console.log is done but empty array is fetched... Plz look into Code and Mention my Mistakes
Dashboard Component :
export class DashboardsComponent implements OnInit {
constructor (
private feedService :FeedService
) {}
ngOnInit() {
this.refreshFeed();
}
refreshFeed() {
this.feeds.length = 0;
// Adds 1s of delay to provide user's feedback.
this.feedService.getFeedContent(this.feedUrl).delay(1000)
Dashboard HTML :
The text was updated successfully, but these errors were encountered: