How can I implement two functions for one button?
For instance, I would like to turn on something when I tab on button and then turn off something when I tab on it again.
Right now I have tutorials regarding implementing only one function to a button.
Any advice on this with a simple typescript example?
Please help me out