Update autocompletion for widget configuration access (#1731)

Follow-up for PR #1698 where I forgot this.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
pull/1741/head
Florian Hotze 2023-03-01 17:56:24 +01:00 committed by GitHub
parent a028d1ce90
commit 30ca65ef4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ function hintExpression (cm, line) {
list: [
{ text: 'items.', displayText: 'items', description: 'Access to item states' },
{ text: 'props.', displayText: 'props', description: 'Access to the props of the parent root component' },
{ text: 'config.', displayText: 'config', description: 'Access to the configuration of the current component' },
{ text: 'vars.', displayText: 'vars', description: 'Access to context vars' },
{ text: 'loop.', displayText: 'loop', description: 'Access to oh-repeater loop variables' },
{ text: 'JSON.', displayText: 'JSON', description: 'Access to the JSON object functions' },