You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: v0.3/handbook/libraries/stdlib.md
+17-10Lines changed: 17 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
layout: default
3
3
title: "Standard Library"
4
4
---
5
+
{% raw %}
5
6
6
7
# Standard Library
7
8
@@ -742,6 +743,10 @@ bind
742
743
<ul class="arglist">
743
744
<li><strong>element</strong> - (optional) - the element to be monitored; includes clicks on any children within the element</li>
744
745
<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>
745
750
<li><strong>button</strong> - (optional) - the mouse button whose click is monitored; options are:
746
751
<ul class="arglist">
747
752
<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.
1506
1511
<li><strong>year</strong> - (optional) - the current year</li>
1507
1512
<li><strong>month</strong> - (optional) - the current month (1 - 12)</li>
1508
1513
<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>
1514
1519
<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>
0 commit comments