# Mouse Support Test Page

### 🖱️ Configured Mouse Actions

Element 1 - All Actions:

- `click` - Simple left click
- `right_click` - Right click (context menu blocked)
- `ctrl+click` - Ctrl/Cmd + Click
- `shift+click` - Shift + Click
- `ctrl+shift+click` - Ctrl + Shift + Click
- `click right_click` - Click then right-click within 500ms
- `click click` - Click twice in sequence

Element 2 - Using rclick alias:

- `click` - Simple click
- `rclick` - Right click (using rclick alias)
- `click rclick` - Click then right-click sequence (using alias)

Element 3 - Mousedown>mouseup actions:

- `click` - Simple click (coexists with mousedown>mouseup)
- `mousedown>mouseup` - Left press and release (with JS values)
- `ctrl+mousedown>mouseup` - Ctrl + press and release
- `rmousedown>mouseup` - Right press and release
- `click mousedown>mouseup` - Click then press-and-release sequence

Note: `rclick` is an alias for `right_click` and works identically.

Tip: Try different click combinations! Right-click menu will be blocked on test elements.

Click Behavior: The `click` action is detected GLOBALLY (anywhere on the page). Try clicking outside the test elements - the click action will still trigger! The `is_inside` parameter tells you if the click was inside or outside the element (perfect for "close popup if clicked outside" logic).
Right-Click Behavior: The `right_click` action is detected ONLY when clicking ON the element. Try right-clicking outside the test elements - the browser's context menu will appear normally.
Mac Users: Use Cmd (⌘) instead of Ctrl. The library handles cross-platform compatibility automatically.

## Test Element 1 (All Actions)

Try different mouse actions here!
Click, Right-click, Ctrl+Click, Shift+Click, sequences...

## Test Element 2 (Using rclick alias)

This element uses "rclick" alias for right-click
Also has a "click rclick" sequence

## Test Element 3 (Mousedown>mouseup actions)

Try mousedown>mouseup actions here!
Press and hold, then release. Also try Ctrl+drag, right-drag, and click then drag.

## Test Input (normal clicking should work here)

## 🎯 Click Outside Test Area

Click anywhere in this gray area (outside the test elements above) to see that `click` is detected globally!

This is just empty space - but clicking here will still trigger the registered `click` actions!

## Event Log