From 2225a3f760e5a2d30338b278c8286c6acfdd7d70 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 19 Jan 2022 14:27:11 +0100 Subject: [PATCH] docs: formatting --- resources/docs/docs/widgets/scripting.md | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/docs/docs/widgets/scripting.md b/resources/docs/docs/widgets/scripting.md index fbc3d942..29793772 100644 --- a/resources/docs/docs/widgets/scripting.md +++ b/resources/docs/docs/widgets/scripting.md @@ -4,6 +4,7 @@ Widgets can run [Javascript](https://developer.mozilla.org/en-US/docs/Web/JavaSc !!! warning "Advanced syntaxe" Most [advanced syntaxes](../advanced-syntaxes/) should be avoided as much as possible in scripting properties: + - `@{}`: use `get()` and `getProp()` instead - `OSC{}`: use `get()` instead (using another widget as receiver) - `VAR{}`: use `getVar()`instead