Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

How to send id as per onclick on that card to next page

$
0
0

@pt2609 wrote:

I’m trying to send onclick id to the next page. i’m able to send only specific id to next page like using below code:
this.navCtrl.push(ChecklistPage, { checklisttNo: this.resposeData[0].project_id }); but it will send only 0th index code then how to send any id that i clicked

[
{
“project_id”: “8”,
“name”: “Columbia Asia”,
“img”: “”
},
{
“project_id”: “7”,
“name”: “test4”,
“img”: “http://146.66.92.93/~advent37/QualityControl/uploads/project_logo/Logo_w_o_theme_lowres.png
},
{
“project_id”: “6”,
“name”: “test3”,
“img”: “”
},
{
“project_id”: “5”,
“name”: “test2”,
“img”: “”
},
{
“project_id”: “4”,
“name”: “test1”,
“img”: “”
},
{
“project_id”: “3”,
“name”: “KSB tech”,
“img”: “”
},
]

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>