docs: phrasing

This commit is contained in:
bordun 2020-03-30 20:15:02 +02:00
parent 3ad91e9c15
commit eeca7d172a

View file

@ -1,6 +1,6 @@
# Scripting
The `script` property allows widgets to run javascript code when they receive a value. It differs from the javascript property syntax in the following ways:
The `script` property allows widgets to run javascript code when their value update. It differs from the javascript property syntax in the following ways:
- no `JS{{}}` wrapper, only `code`
- `@{}`, `OSC{}`, `JS{{}}` and `#{}` blocks are replaced with their value before the script's compilation