scripting: send() now ignores the widget's bypass property (allows bypassing default messages and define custom ones).
This commit is contained in:
parent
cbfc742e7d
commit
08107e7928
3 changed files with 4 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
- widgets
|
||||
- all: add `html` property to allow inserting custom content in widgets (label, value, etc) and style it with the `css` property.
|
||||
- scripting: `send()` now ignores the widget's `bypass` property (allows bypassing default messages and define custom ones).
|
||||
|
||||
- custom module
|
||||
- automatically reload custom module when the file is modified
|
||||
|
|
|
|||
|
|
@ -79,6 +79,8 @@ If the event that triggered the script's execution was initiated by a user inter
|
|||
|
||||
If the event that triggered the script's execution was not initiated by a user interaction, this function will have no effect.
|
||||
|
||||
This function ignores the widget's `bypass` property.
|
||||
|
||||
----
|
||||
|
||||
#### `getProp(id, name)`
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ class ScriptVm extends Vm {
|
|||
var widget = this.getWidget()
|
||||
if (widget.builtIn) widget = widget.parent
|
||||
|
||||
widget.sendValue(overrides)
|
||||
widget.sendValue(overrides, {force: true})
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue