Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230033

How to put .ts variable into html method?

$
0
0

Just like how you do it in the usual way

(selectOption)="selectOption(event,variable)"

for example (click)="popup('abc','def') in HTML and
popup(input1, input2) { alert(input1 + input2); } will give alert with message abcdef


Viewing all articles
Browse latest Browse all 230033

Trending Articles



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