From 0b8f58ebfa140179ed0a3f43db4e6bf1e11ca0c4 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Tue, 2 Apr 2019 16:05:05 +0200 Subject: [PATCH] docs: update --- resources/docs/docs/widgets-reference.md | 9 +++++++++ resources/src/scss/styles.scss | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/resources/docs/docs/widgets-reference.md b/resources/docs/docs/widgets-reference.md index 26fc5264..e6877087 100644 --- a/resources/docs/docs/widgets-reference.md +++ b/resources/docs/docs/widgets-reference.md @@ -478,6 +478,15 @@ |

value

|||| |

value

| `object` | "" | The gyroscope's value is an object containing multiple values, which can be used by other widgets via the property maths syntax
- `value.do.alpha`: deviceorientation event alpha
- `value.do.beta`: deviceorientation event beta
- `value.do.gamma`: deviceorientation event gamma
- `value.do.absolute`: deviceorientation event absolute
- `value.dm.x`: devicemotion event acceleration x
- `value.dm.y`: devicemotion event acceleration y
- `value.dm.z`: devicemotion event acceleration z
- `value.dm.gx`: devicemotion event accelerationIncludingGravity x
- `value.dm.gy`: devicemotion event accelerationIncludingGravity y
- `value.dm.gz`: devicemotion event accelerationIncludingGravity z
- `value.dm.alpha`: devicemotion event rotationRate alpha
- `value.dm.beta`: devicemotion event rotationRate beta
- `value.dm.gamma`: devicemotion event rotationRate gamma | +### file + +| property | type |default | description | +| --- | --- | --- | --- | +|

input

|||| +|

directory

| `string` | "auto" | Default browsing directory | +|

extension

| `string` | "*" | Only display files with this extension | +|

hidePath

| `boolean` | false | Set to `true` to only display the filename (the whole path will still be used as value) | +