docs: continue
This commit is contained in:
parent
a286a63f39
commit
4595b0068f
3 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,3 @@
|
|||
Below are the available command-line options. Note that when running without any command-line switch (ie from a file browser), a launcher window will spawn to help setting them.
|
||||
|
||||
<div class="force-full-table"></div>
|
||||
| Option | Description |
|
||||
|---|---|
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ This syntax allows writing formulas in pure javascript. The code will be compile
|
|||
- `console`: javascript console
|
||||
- `locals`: object for storing/reading arbitrary values. Changing its properties *does not* trigger any synchronisation even if the value is used somewhere else.
|
||||
- `globals`: same as `locals` but shared between all widgets, contains a few useful variables:
|
||||
|
||||
- `screen`: `{width, height}`
|
||||
- `env`: client options (ie: url query options),
|
||||
- `url`: server url,
|
||||
|
|
@ -74,6 +75,6 @@ In this context, `@{} / OSC{}` are also seen as variables (named `VAR_XXX`), not
|
|||
|
||||
Parsing errors can be read in the DevTool console (F12).
|
||||
|
||||
## Javascript shorthand: `#{ <code> }`
|
||||
## Javascript: `#{ <code> }`
|
||||
|
||||
This is a shorthand for the `JS{{}}` syntax, the only difference being that `<code>` is automatically prepended with a `return` statement.
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ nav:
|
|||
- download.md
|
||||
- Documentation:
|
||||
- Getting started:
|
||||
- docs/getting-started/introduction.md
|
||||
- docs/getting-started/server-setup.md
|
||||
- docs/getting-started/supported-platforms.md
|
||||
- docs/getting-started/running-from-sources.md
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue