These are chat archives for angular/angular-2-ionic-2

30th
Apr 2018
Anbarasan
@Anbarasan-321
Apr 30 2018 04:41
<ion-item ng-repeat="item in course.items" ng-click="openItem({{item.id}})">
<h1>{{item.title}} </h1>
<p>{{item.description}}</p>
</ion-item>
How I open selected data from a list on another page?Please help…
UncertaintyP
@UncertaintyP
Apr 30 2018 05:09
instead of ng-repeat="item in course.items" ng-click="openItem({{item.id}})" use *ngFor="let item of course.items" (click)="openItem(item.id)"
Anbarasan
@Anbarasan-321
Apr 30 2018 05:10
how can i write js for that
Ali Bulut
@ali27001
Apr 30 2018 09:13
@UncertaintyP how to overcome this problem
UncertaintyP
@UncertaintyP
Apr 30 2018 09:15
@ali27001 Why should this be a problem?
Ali Bulut
@ali27001
Apr 30 2018 09:19
@UncertaintyP I am developing an application for the first time. So I'm new. I designed it as html, but it is suitable for mobile view. I get the look on the phone, but not on the tablet. That's why she is acting like a design website. looks bad
UncertaintyP
@UncertaintyP
Apr 30 2018 09:22
But this is not related to the viewport option. Just ignore this warning in chrome
Akash Juneja
@akashjuneja
Apr 30 2018 09:23
Anybody can help me sove my problem
UncertaintyP
@UncertaintyP
Apr 30 2018 09:24
The message is not really helpful, do you use --prod flag or some optimization/uglification?