A.Emre A.Emre - 1 year ago 129
TypeScript Question

ionic 2 send veriable on click div

<div class="copkutusu" (click)="kanalsil(kanalid,deneme)" #kanalid id={{ver.channelid}}
#deneme id={{ver.channelapikey}}></div>


I call in .ts , give me kanalid.id and deneme.id same veriable but thats different things

Answer Source

Change your div like that:

<div class="copkutusu" (click)="kanalsil(ver.channelid,ver.channelapikey)"></div>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download