diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index 75806c8d..3aa8bfdc 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -171,8 +171,7 @@ | property | type |default | description | | --- | --- | --- | --- | - | | `boolean` | false | Set to `true` to make the menu stay opened after mouse/touch release | - | | `boolean` | false | Set to `true` to make the menu require a double tap to be opened instead of a single tap | + | | `string` | "default" | Interaction modes:
- `default`: opens on touch, closes and changes value on release
- `toggle`: opens on click, closes and changes value on next click
- `swipe`: opens on touch, changes value when the pointer moves above items, closes on release
- `doubleTap`: same as `default` but opens on double tap
- `doubleTap-toggle`: same as `toggle` but opens on double tap

Choices: `default`, `toggle`, `swipe`, `doubleTap`, `doubleTap-toggle` | | | `array`|
`object` | [
 1,
 2,
 3
]
| `Array` of possible values to switch between : `[1,2,3]`

`Object` of label:value pairs. Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept

`{"labels": [], "values": []}` `object` where `labels` and `values` arrays must be of the same length. This syntax allows using the same label for different values. | | | `array` | "" | `Array` of `number` defining the weights of each value in `values`

Ignored when `mode` is `grid` |