758 B
758 B
All Event Handling Example
This example demonstrates all available event types in Crafter.CppDOM:
Events Demonstrated
Mouse Events
- Click
- Mouse Over
- Mouse Out
- Mouse Move
- Mouse Down
- Mouse Up
Keyboard Events
- Key Down
- Key Up
- Key Press
Focus Events
- Focus
- Blur
Form Events
- Input
- Change
Window Events
- Resize
- Scroll
- Context Menu
Drag and Drop Events
- Drag Start
- Drag End
- Drag Over
- Drag Enter
- Drag Leave
- Drop
Wheel Events
- Wheel (Mouse wheel scrolling)
How to Run
- Build the project using the build system
- Run the executable with
./run.sh - Open your browser to
http://localhost:8080
The demo will show various event handlers in action through interactive elements.