From 62d4b1d4091462ffb7063467339d52fe49ca7e2e Mon Sep 17 00:00:00 2001 From: bordun Date: Wed, 24 Jun 2020 15:29:55 +0200 Subject: [PATCH] docs: variable description --- resources/docs/docs/widgets/properties-reference.md | 2 +- src/client/widgets/scripts/variable.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index d8bf4ade..9c891583 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -716,4 +716,4 @@ |
keyType#
| `string` | "keydown" | Determines which key event trigger the script's execution

Choices: `keydown`, `keyup`, `both` | ??? api "
variable#
" - Hold a value. + Receives / stores a value, to be used in scripts (using the get function) or in properties (using the @{} syntax). diff --git a/src/client/widgets/scripts/variable.js b/src/client/widgets/scripts/variable.js index c3060a7a..afa114e1 100644 --- a/src/client/widgets/scripts/variable.js +++ b/src/client/widgets/scripts/variable.js @@ -5,7 +5,7 @@ module.exports = class Variable extends StaticProperties(Widget, {bypass: true, static description() { - return 'Hold a value.' + return 'Receives / stores a value, to be used in scripts (using the get function) or in properties (using the @{} syntax).' }