Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //I think yesNo is the state of the switch
- If (!(button.hidden = !yesNo)) {//button is hidden if switch is off?
- //
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement