Accessible Apps, Part 2 Problems
Create a Switch: Behavior
In this task, create a Behavior for the Switch button. This behavior is triggered when the switch button is selected. When the button is selected, the run action in MyBehavior will get the light label and swap the text from off to on or on to off.
Swap to the MyBehavior.quorum tab. Read through the existing code. Then add and edit the blocks in the tray to the Run action in this tab. When the behavior is completed, the Switch button will change the label's text.