mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[jsscripting] Fix broken event object table (#13952)
The table is not properly rendered when reading the documentation in Main UI. Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
parent
79060f3c8f
commit
6e8b35c4c1
@ -94,7 +94,7 @@ See [openhab-js](https://openhab.github.io/openhab-js) for a complete list of fu
|
||||
|
||||
When you use "Item event" as trigger (i.e. "[item] received a command", "[item] was updated", "[item] changed"), there is additional context available for the action in a variable called `event`.
|
||||
|
||||
This tables gives an overview over the `event` object for most common trigger types:
|
||||
This table gives an overview over the `event` object for most common trigger types:
|
||||
|
||||
| Property Name | Type | Trigger Types | Description | Rules DSL Equivalent |
|
||||
|----------------|----------------------------------------------------------------------------------------------------------------------|----------------------------------------|---------------------------------------------------------------------------------------------------------------|------------------------|
|
||||
@ -1030,7 +1030,8 @@ When a rule is triggered, the script is provided the event instance that trigger
|
||||
The specific data depends on the event type.
|
||||
The `event` object provides some information about that trigger.
|
||||
|
||||
This tables gives an overview over the `event` object:
|
||||
This table gives an overview over the `event` object:
|
||||
|
||||
| Property Name | Trigger Types | Description | Rules DSL Equivalent |
|
||||
|-------------------|------------------------------------------------------|-------------------------------------------------------------------------------------|------------------------|
|
||||
| `oldState` | `ItemStateChangeTrigger`, `GroupStateChangeTrigger` | Previous state of Item or Group that triggered event | `previousState` |
|
||||
|
Loading…
Reference in New Issue
Block a user