Passing component 'text' to variable

Hi there,

I have a button called 'ButMon' and I want to set a variable to the text of that button. Can you please explain how to do this? It seems very simple, but I just cannot do it.

Ionic app, not JQuery.

Thanks
1 person has
this question
+1
Reply