Toggle button contains two states. Each time you click the toggle button, it will switch between the two states. Mute, Play/Pause, Move Map and Show/Hide are all with toggle effect. Take Play/Pause button as an example, if the movie is running, then click on this button and movie will be paused. And the button state will switch from pause to play. And another click on this button, the movie will run again and the button state becomes pause.
|
The movie is running and the button is at pause state. |
The movie is paused and the button is at play state. |
|
|
|
Tip: These actions like mute, play/pause, move map, show/hide hotspot are all for toggle button.
Related Topics: