Codemo Playground
  • Getting Started
  • General UI
    • Button
    • Input
    • Radio Buttons
    • Checkboxes
    • Select Dropdown
    • Date
  • Dynamic UI
  • Browser Interactions
  • Storage & State
  • API
  • Beehive
Back to Home
General UI

Button

Example codeGuide
Practice clicking buttons and verifying their behavior and state changes.
Single Click
Verify the button registers single clicks and increments the counter correctly.
Single Clicks: 0
Double Click
Verify the button registers double clicks and increments the counter correctly.
Double Clicks: 0
Right Click
Verify the button registers right clicks and increments the counter correctly.
Right Clicks: 0
Middle Click
Verify the button registers middle clicks and increments the counter correctly.
Middle Clicks: 0
Long Press
Verify the button registers long press (hold 2s) and increments the counter correctly.
Long Presses: 0
Enabled (enabling in 5s)
Verify the button is enabled and clickable after a delay, and that it increments the counter correctly.
Enabled Clicks: 0