Skip to content

Commit a3cd88b

Browse files
committed
Update stdlib
1 parent 7b68864 commit a3cd88b

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

v0.3/handbook/libraries/stdlib.md

Lines changed: 17 additions & 10 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

@@ -742,6 +743,10 @@ bind
742743
<ul class="arglist">
743744
<li><strong>element</strong> - (optional) - the element to be monitored; includes clicks on any children within the element</li>
744745
<li><strong>target</strong> - (optional) - the exact element to be monitored; does not include any children</li>
746+
<li><strong>page-x</strong> - (optional) - the x-coordinate of the mouse pointer relative to the page</li>
747+
<li><strong>page-y</strong> - (optional) - the y-coordinate of the mouse pointer relative to the page</li>
748+
<li><strong>window-x</strong> - (optional) - the x-coordinate of the mouse pointer relative to the window</li>
749+
<li><strong>window-y</strong> - (optional) - the y-coordinate of the mouse pointer relative to the page</li>
745750
<li><strong>button</strong> - (optional) - the mouse button whose click is monitored; options are:
746751
<ul class="arglist">
747752
<li>“left” - left mouse button; if no button argument is provided, this is the default</li>
@@ -1506,13 +1511,13 @@ The system library provides various system-level utilities for Eve.
15061511
<li><strong>year</strong> - (optional) - the current year</li>
15071512
<li><strong>month</strong> - (optional) - the current month (1 - 12)</li>
15081513
<li><strong>day</strong> - (optional) - the current day of the month (1 - 31)</li>
1509-
<li><strong>weeday</strong> - (optional) - the current day of the week (1 - 7, where 1 is Sunday)</li>
1510-
<li><strong>hours</strong> - (optional) - the current hour (0 - 23)</li>
1511-
<li><strong>minutes</strong> - (optional) - the current minute (0 - 59)</li>
1512-
<li><strong>seconds</strong> - (optional) - the current second (0 - 59)</li>
1513-
<li><strong>milliseconds</strong> - (optional) - the current millisecond (0 - 999)</li>
1514+
<li><strong>weekday</strong> - (optional) - the current day of the week (1 - 7, where 1 is Sunday)</li>
1515+
<li><strong>hour</strong> - (optional) - the current hour (0 - 23)</li>
1516+
<li><strong>minute</strong> - (optional) - the current minute (0 - 59)</li>
1517+
<li><strong>second</strong> - (optional) - the current second (0 - 59)</li>
1518+
<li><strong>millisecond</strong> - (optional) - the current millisecond (0 - 999)</li>
15141519
<li><strong>timestamp</strong> - (optional) - the current time represented as the number of milliseconds elapsed since 1 January 1970 00:00:00 UTC</li>
1515-
<li><strong>frame</strong> - (optional) - the number of frames elapsed since the start of the timer</li>
1520+
<li><strong>tick</strong> - (optional) - the number of ticks of the timer since it was created</li>
15161521
</ul>
15171522
</td>
15181523
<td>
@@ -1528,12 +1533,14 @@ Displays the current time
15281533
15291534
~~~
15301535
search
1531-
[#system/timer hours minutes seconds]
1536+
[#system/timer hour minute second]
15321537

15331538
bind
1534-
[#ui/text text: "{{hours}}:{{minutes}}:{{seconds}}"]
1535-
~~~
1539+
[#ui/text text: "{{hour}}:{{minute}}:{{second}}"]
1540+
```
15361541
</code>
15371542
</td>
15381543
</tr>
1539-
</table>
1544+
</table>
1545+
1546+
{% endraw %}

0 commit comments

Comments
 (0)