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
+52-2Lines changed: 52 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1182,14 +1182,14 @@ commit
1182
1182
1183
1183
<tr>
1184
1184
<td>
1185
-
<ui>
1185
+
<ul>
1186
1186
<li><strong>children</strong> - (optional) - the children contained within the column or row</li>
1187
1187
<li><strong>style</strong> - (optional) - specific CSS styles can be defined, but must be entered as a subrecord</li>
1188
1188
<li><strong>text</strong> - (optional) - defines text within the column or row</li>
1189
1189
<li><strong>#</strong> - (optional) - any other tags on the record will be applied to the column or row as classes</li>
1190
1190
<li><strong>class</strong> - (optional) defines one or more classes for the element</li>
1191
1191
<li>Other attributes - (optional) - other attribute-value pairs will be applied directly to the column or row for integration with existing JS libraries or debugging</li>
1192
-
</ui>
1192
+
</ul>
1193
1193
</td>
1194
1194
<td><code>// creates 3 very wise divs in the browser stacked on top of one another
1195
1195
```
@@ -1400,3 +1400,53 @@ bind
1400
1400
</td>
1401
1401
</tr>
1402
1402
</table>
1403
+
1404
+
## System
1405
+
1406
+
The system library provides various system-level utilities for Eve.
1407
+
1408
+
<table class="libitem">
1409
+
<tr>
1410
+
<td colspan="2">
1411
+
<b>#system/timer</b> - starts a timer at the specified resolution
1412
+
</td>
1413
+
</tr>
1414
+
1415
+
<tr>
1416
+
<td>
1417
+
<ul>
1418
+
<li><strong>resultion</strong> - the frequency in milliseconds of the timer.</li>
1419
+
<li><strong>year</strong> - (optional) - the current year</li>
1420
+
<li><strong>month</strong> - (optional) - the current month (1 - 12)</li>
1421
+
<li><strong>day</strong> - (optional) - the current day of the month (1 - 31)</li>
1422
+
<li><strong>weeday</strong> - (optional) - the current day of the week (1 - 7, where 1 is Sunday)</li>
1423
+
<li><strong>hours</strong> - (optional) - the current hour (0 - 23)</li>
1424
+
<li><strong>minutes</strong> - (optional) - the current minute (0 - 59)</li>
1425
+
<li><strong>seconds</strong> - (optional) - the current second (0 - 59)</li>
1426
+
<li><strong>milliseconds</strong> - (optional) - the current millisecond (0 - 999)</li>
1427
+
<li><strong>timestamp</strong> - (optional) - the current time represented as the number of milliseconds elapsed since 1 January 1970 00:00:00 UTC</li>
1428
+
<li><strong>frame</strong> - (optional) - the number of frames elapsed since the start of the timer</li>
1429
+
</ul>
1430
+
</td>
1431
+
<td>
1432
+
<code>
1433
+
Commits a timer that ticks every 1000 milliseconds
0 commit comments