Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Commit

Permalink
Process msg while disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
bartbutenaers authored Aug 19, 2023
1 parent 384e624 commit aa241e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Most of the SVG information can be manipulated by sending input messages to this
+ [Reset pan/zoom](https://github.com/bartbutenaers/node-red-contrib-ui-svg/tree/master/docs/msg_control.md#reset-panzoom-via-msg) via msg

### Enable/disable the SVG
The Node-RED dashboard allows to enable/disable ui widgets by injecting a message with `msg.enabled` set to a boolean true or false. This can also be used to enable or disable all user input in an SVG drawing. Note that all other msg properties (like topic, payload, ...) will be ignored in this case, so no command is being used (since this is a standard Node-RED dashboard feature).
The Node-RED dashboard allows to enable/disable ui widgets by injecting a message with `msg.enabled` set to a boolean true or false. This can also be used to enable or disable all user input in an SVG drawing. Note that all next injected messages will keep being processed while the node is disabled, like with all other UI nodes (i.e. standard behaviour).

![svg_enable](https://github.com/bartbutenaers/node-red-contrib-ui-svg/assets/14224149/f4485aa4-1877-4451-babb-570e95ce03cd)
```
Expand Down

0 comments on commit aa241e0

Please sign in to comment.