docs: dead link
This commit is contained in:
parent
cf0086999e
commit
6b68000079
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
The `script` property allows widgets to run [Javascript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) code when their value update.
|
||||
|
||||
!!! info "It's slightly different from the [javascript property syntax ](./advanced-syntaxes/#javascript-js-code)"
|
||||
!!! info "It's slightly different from the [javascript property syntax ](../advanced-syntaxes/#javascript-js-code)"
|
||||
|
||||
- no `JS{{}}` wrapper, just the code
|
||||
- `@{}`, `OSC{}`, `JS{{}}` and `#{}` blocks are replaced with their literal value before the script's compilation, therefore **it is recommended to avoid these syntaxes** and use `getProp()` and `get()` instead.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue