Skip to content

Commit c6a63de

Browse files
committed
new tags
1 parent 35c3d2e commit c6a63de

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ The port for the server. Use `8765` for now.
244244
> ```
245245
> The name field is used to catch button click events (see below). The label field defines the string displayed on the button.
246246
> The style field is an `css` code you want to add to the stying of the button.
247+
> <span style='background: yellow'>(New in 1.0)</span>
247248
248249
> `agents`<br>
249250
> A list of agents to put in the simulation. For example,
@@ -288,6 +289,7 @@ The brower client relays mouse click, button press, and keyboard events to the e
288289
289290
> Name: `button_click`
290291
> Value: An object with the a `name` field that matches the name field used in `config.json`.
292+
> <span style='background: yellow'>(New in 1.0)</span>
291293
292294
> Name: `keydown`
293295
> Value: An object with a `key` field, which is the character pressed, as well as the following boolean fields
@@ -297,9 +299,11 @@ The brower client relays mouse click, button press, and keyboard events to the e
297299
> altKey
298300
> metaKey
299301
> ```
302+
> <span style='background: yellow'>(New in 1.0)</span>
300303
301304
> Name: `keyup`
302305
> Value: Same as for `keydown`.
306+
> <span style='background: yellow'>(New in 1.0)</span>
303307
304308
To respond to events in your code, you should put elma watchers into the `init()` method of some process. For example, to respond to an agent click, you might do
305309
```c++

0 commit comments

Comments
 (0)