button: amend click doc

This commit is contained in:
jean-emmanuel 2026-03-02 10:41:38 +01:00
parent 99578d3be5
commit 91fb688d9d

View file

@ -45,7 +45,7 @@ class Button extends Widget {
'- `tap` (no release, sends `on` as value)',
]},
doubleTap: {type: 'boolean', value: false, help: 'Set to `true` to make the button require a double tap to be pushed instead of a single tap'},
click: {type: 'boolean', value: false, help: 'Set to `true` to activate upon click event instead of tap'},
click: {type: 'boolean', value: false, help: 'Set to `true` to activate upon click event instead of tap (ignored if `mode` is `push`)'},
decoupled: {type: 'boolean', value: false, help: [
'Set to `true` make the local feedback update only when it receives a value from an osc/midi message that matches the `on` or `off` property.',
'When `decoupled`, the button\'s value is ambiguous: when interacted with, it will send the value that\'s requested (`on` or `off` for `toggle` and `push` modes, `on` for `tap` mode, `null` for `momentary`), otherwise it will return the value received from the feedback message (`on` or `off` property).',