some docs typos

This commit is contained in:
jean-emmanuel 2016-03-31 19:40:33 +02:00
parent d1934ddbd7
commit 3476a57e7c
5 changed files with 25 additions and 25 deletions

View file

@ -18,7 +18,7 @@ Buttons are exactly what you think they are.
- usage: defines which value is sent on `on` position
- set to `null` to send send no argument in the osc message
- set to `false` to prevent sending any osc message
- can be an object if the type needs to be specified (see [preArgs](../widgets-generics.md#preargs))
- can be an `object` if the type needs to be specified (see [preArgs](../widgets-generics.md#preargs))
#### `off`
- type: `string|number|object`
@ -26,7 +26,7 @@ Buttons are exactly what you think they are.
- usage: defines which value is sent on `off` position
- set to `null` to send send no argument in the osc message
- set to `false` to prevent sending any osc message
- can be an object if the type needs to be specified (see [preArgs](../widgets-generics.md#preargs))
- can be an `object` if the type needs to be specified (see [preArgs](../widgets-generics.md#preargs))
----
@ -45,7 +45,7 @@ Buttons are exactly what you think they are.
- usage: defines which value is sent when pushing the button
- set to `null` to send send no argument in the osc message
- set to `false` to prevent sending any osc message
- can be an object if the type needs to be specified (see [preArgs](../widgets-generics.md#preargs))
- can be an `object` if the type needs to be specified (see [preArgs](../widgets-generics.md#preargs))
#### `off`
- type: `string|number|object`
@ -53,7 +53,7 @@ Buttons are exactly what you think they are.
- usage: defines which value is sent when releasing the button
- set to `null` to send send no argument in the osc message
- set to `false` to prevent sending any osc message
- can be an object if the type needs to be specified (see [preArgs](../widgets-generics.md#preargs))
- can be an `object` if the type needs to be specified (see [preArgs](../widgets-generics.md#preargs))
Setting the `push`'s value externally (via osc or widget linking/cloning) will toggle it's inner light.

View file

@ -23,7 +23,7 @@ Strips can contain any number of widgets, which can't be absolutely positioned a
#### `widgets`
- type: `array`
- default: `[]`
- usage: each element of the `array` must be a widget object
- usage: each element of the `array` must be a widget `object`
----
@ -47,9 +47,9 @@ Panels can contains tabs or widgets. These can be absolutely positioned and can
#### `widgets`
- type: `array`
- default: `[]`
- usage: each element of the `array` must be a widget object.A panel cannot contain widgets and tabs simultaneously.
- usage: each element of the `array` must be a widget `object`. A panel cannot contain widgets and tabs simultaneously.
#### `tabs`
- type: `array`
- default: `[]`
- usage: each element of the `array` must be a tab object. A panel cannot contain widgets and tabs simultaneously.
- usage: each element of the `array` must be a tab `object`. A panel cannot contain widgets and tabs simultaneously.

View file

@ -21,7 +21,7 @@ Pads are multidimensional widgets that output multiple values.
x:{"min":0,"max":1},
y:{"min":0,"max":1}
}`
- usage: defines the `min` and `max` values for `x` and `y` axis
- usage: defines the `min` and `max` values for the `x` and `y` axis
#### `logScaleX`
- type: `boolean`
@ -36,7 +36,7 @@ Pads are multidimensional widgets that output multiple values.
#### `snap`
- type: `boolean`
- default: `false`
- usage: by default, dragging the widget will modify it's value starting from its last value. Setting this to true will make it snap directly to the mouse/touch position.
- usage: by default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position.
#### `split`
- type: `boolean|object`

View file

@ -49,7 +49,7 @@ The plot receives an array of [x,y] coordinates and draws them on a chart with
x:{"min":0,"max":1},
y:{"min":0,"max":1}
}`
- usage: defines the `min` and `max` values for `x` and `y` axis
- usage: defines the `min` and `max` values for the `x` and `y` axis
#### `logScaleX`
- type: `boolean`
@ -90,7 +90,7 @@ The visualizer displays the evolution in time of a received value (through osc)
#### `logScale`
- type: `boolean`
- default: `false`
- usage: set to true use logarithmic scaling
- usage: set to `true` use logarithmic scaling (log10)
## Text
@ -107,7 +107,7 @@ Text displays incoming values (via osc) as text
#### `vertical`
- type: `boolean`
- default: `false`
- usage: set to true display vertically
- usage: set to `true` display vertically
## Meter
@ -124,7 +124,7 @@ Meter displays incoming numerical values (via osc) as a gauge level
#### `horizontal`
- type: `boolean`
- default: `false`
- usage: set to true to display the meter horizontally
- usage: set to `true` to display the meter horizontally
#### `range`
- see fader's [`range`](sliders/#fader)

View file

@ -16,7 +16,7 @@ Sliders are unidimensional widgets that output one value at a time.
#### `horizontal`
- type: `boolean`
- default: `false`
- usage: set to true to display the fader horizontally
- usage: set to `true` to display the fader horizontally
#### `align`
- type: `string`
@ -26,14 +26,14 @@ Sliders are unidimensional widgets that output one value at a time.
#### `noPip`
- type: `boolean`
- default: `false`
- usage: set to true to hide the scale
- usage: set to `true` to hide the scale
#### `range`
- type: `object`
- default: `{"min":0,"max":1}`
- usage: `range` defines the breakpoints of the fader's scale
- keys can be percentages and/or `min` / `max`
- values can be numbers or object if a custom label is needed
- values can be `number` or `object` if a custom label is needed
- example:
```js
range: {
@ -45,12 +45,12 @@ range: {
#### `horizontal`
- type: `boolean`
- default: `false`
- usage: set to true to display the fader horizontally
- usage: set to `true` to display the fader horizontally
#### `logScale`
- type: `boolean`
- default: `false`
- usage: set to true use logarithmic scaling between breakpoints
- usage: set to `true` use logarithmic scaling between breakpoints (log10)
#### `unit`
@ -62,15 +62,15 @@ range: {
#### `snap`
- type: `boolean`
- default: `false`
- usage: by default, dragging the widget will modify it's value starting from its last value. Setting this to true will make it snap directly to the mouse/touch position.
- usage: by default, dragging the widget will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position.
#### `meter`
- type: `boolean`
- default: `false`
- usage: set to true to display a vu-meter next in the fader
- the meter's `id` will be the same as the fader's with `/meter` appended to it
- the meter's `path `will be the same as the fader's with `/meter` appended to it
- the meter's `id` will be the same as the widget's with `/meter` appended to it
- the meter's `path `will be the same as the widget's with `/meter` appended to it
#### `css`
@ -95,14 +95,14 @@ range: {
#### `noPip`
- type: `boolean`
- default: `false`
- usage: set to true to hide the scale
- usage: set to `true` to hide the scale
#### `range`
- type: `object`
- default: `{"min":0,"max":1}`
- usage: `range` defines the breakpoints of the fader's scale
- keys can be percentages and/or `min` / `max`
- values can be numbers or object if a custom label is needed
- values can be `number` or `object` if a custom label is needed
- example:
```js
range: {
@ -115,7 +115,7 @@ range: {
#### `logScale`
- type: `boolean`
- default: `false`
- usage: set to true use logarithmic scaling between breakpoints
- usage: set to `true` use logarithmic scaling between breakpoints
#### `unit`
@ -127,7 +127,7 @@ range: {
#### `snap`
- type: `boolean`
- default: `false`
- usage: by default, dragging the widget *vertically* will modify it's value starting from its last value. Setting this to true will make it snap directly to the mouse/touch position.
- usage: by default, dragging the widget *vertically* will modify it's value starting from its last value. Setting this to `true` will make it snap directly to the mouse/touch position.
#### `css`
```