On click of a button, I like to read the button's current text, and depending on an action change that button's text. I found this in some appery.io docs, but haven't been able to successfully use it:
//to read the button text
//to change the button text without messing up formatting
I assume the id is the component name.