This shows you the differences between two versions of the page.
documentation [2013/03/18 13:35] Tomas Rehorek |
documentation [2016/05/08 16:13] (current) John English [Mouse Events] |
||
---|---|---|---|
Line 162: | Line 162: | ||
Each JSGL element provides an interface for adding **listeners to mouse events**. | Each JSGL element provides an interface for adding **listeners to mouse events**. | ||
- | The events include **mouse-over**, **mouse-out**, **click**, **double-click**, and **mouse-move**. | + | The events include **mouse-over**, **mouse-out**, **click**, **double-click**, **mouse-move** and **context-menu** (right-click). |
**Event-arguments** object provides **coordinates (x,y)** of the event in scopes of both the **parent coordinate system** and the **panel object**. | **Event-arguments** object provides **coordinates (x,y)** of the event in scopes of both the **parent coordinate system** and the **panel object**. |