Skip to content

Commit 558a23b

Browse files
committed
document mouse position attributes
1 parent e5d7cfe commit 558a23b

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

v0.3/handbook/libraries/stdlib.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: default
33
title: "Standard Library"
44
---
5+
{% raw %}
56

67
# Standard Library
78

@@ -655,6 +656,10 @@ bind
655656
<ul>
656657
<li><strong>element</strong> - (optional) - the element to be monitored; includes clicks on any children within the element</li>
657658
<li><strong>target</strong> - (optional) - the exact element to be monitored; does not include any children</li>
659+
<li><strong>page-x</strong> - (optional) - the x-coordinate of the mouse pointer relative to the page</li>
660+
<li><strong>page-y</strong> - (optional) - the y-coordinate of the mouse pointer relative to the page</li>
661+
<li><strong>window-x</strong> - (optional) - the x-coordinate of the mouse pointer relative to the window</li>
662+
<li><strong>window-y</strong> - (optional) - the y-coordinate of the mouse pointer relative to the page</li>
658663
<li><strong>button</strong> - (optional) - the mouse button whose click is monitored; options are:
659664
<ul>
660665
<li>“left” - left mouse button; if no button argument is provided, this is the default</li>
@@ -1430,7 +1435,6 @@ The system library provides various system-level utilities for Eve.
14301435
</td>
14311436
<td>
14321437
<code>
1433-
{% raw %}
14341438
Commits a timer that ticks every 1000 milliseconds
14351439
14361440
```
@@ -1447,8 +1451,9 @@ search
14471451
bind
14481452
[#ui/text text: "{{hours}}:{{minutes}}:{{seconds}}"]
14491453
```
1450-
{% endraw %}
14511454
</code>
14521455
</td>
14531456
</tr>
1454-
</table>
1457+
</table>
1458+
1459+
{% endraw %}

0 commit comments

Comments
 (0)