From bd0518293c7e211b56e066982f2b85c0b5632f30 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sat, 5 Feb 2022 14:12:00 +0100 Subject: [PATCH] docs: update ref --- resources/docs/docs/widgets/properties-reference.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 43555971..c8edeaa1 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -94,9 +94,9 @@ | property | type |default | description | | --- | --- | --- | --- | - |
on#
| `*` | 1 | Set to `null` to send send no argument in the osc message | - |
off#
| `*` | 0 | Set to `null` to send send no argument in the osc message. Must be different from `on`. | - |
mode#
| `string` | "toggle" | Interraction mode:
- `toggle` (classic on/off switch)
- `push` (press & release)
- `tap` (no release)

Choices: `toggle`, `push`, `tap` | + |
on#
| `*` | 1 | Set to `null` to send send no argument in the osc message. Ignored if `mode` is `momentary`. | + |
off#
| `*` | 0 | Set to `null` to send send no argument in the osc message. Must be different from `on`. Ignored if `mode` is `momentary` or `tap`. | + |
mode#
| `string` | "toggle" | Interraction mode:
- `toggle` (classic on/off switch)
- `push` (press & release)
- `momentary` (no release, no value sent)
- `tap` (no release, sends `on` as value)

Choices: `toggle`, `push`, `momentary`, `tap` | |
doubleTap#
| `boolean` | false | Set to `true` to make the button require a double tap to be pushed instead of a single tap | === "scripting" @@ -909,7 +909,7 @@ ## Scripts ??? api "
script#
" - Sscripting widget utility with keyboard bindings + Scripting widget utility with keyboard bindings === "scripting"