From a8e0a3f2b55f4feed3935c6dd1b0f2786ace6a58 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 29 Sep 2016 01:00:05 +0200 Subject: [PATCH] docs: document widget linkId --- app/resources/docs/user-guide/widgets-generics.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/resources/docs/user-guide/widgets-generics.md b/app/resources/docs/user-guide/widgets-generics.md index 763cbc4f..5782951a 100644 --- a/app/resources/docs/user-guide/widgets-generics.md +++ b/app/resources/docs/user-guide/widgets-generics.md @@ -27,6 +27,11 @@ A widget object is a javascript object. All widgets share a set of generic prope - default: generated unique 'widget_n' - usage: widgets sharing the same `id` will act as clones and update each other's value(s) without sending extra osc messages. +#### `id` +- type: `string` +- default: `empty` +- usage: widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages. + ---- @@ -38,7 +43,7 @@ A widget object is a javascript object. All widgets share a set of generic prope - usage: - set to `false` to hide completely - set to `icon: fontawesome-class` to display an icon from [FontAwesome](http://fontawesome.io/icons/) (replace `fontawesome-class` with the icon's name) - + #### `top` / `left` - type: `number|percentage` - default: `auto`