(args: EventData)
| 9 | let currentState = 0; |
| 10 | |
| 11 | export function buttonTap(args: EventData) { |
| 12 | let btn: Button = args.object as Button; |
| 13 | currentState++; |
| 14 | if (currentState >= states.length) { |
| 15 | currentState = 0; |
| 16 | } |
| 17 | btn.className = states[currentState].class; |
| 18 | btn.text = states[currentState].text; |
| 19 | } |
nothing calls this directly
no outgoing calls
no test coverage detected