Crafter.CppDOM/examples/AllEventHandling/README.md

50 lines
No EOL
758 B
Markdown

# 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
1. Build the project using the build system
2. Run the executable with `./run.sh`
3. Open your browser to `http://localhost:8080`
The demo will show various event handlers in action through interactive elements.