Closed hobbyquaker closed 7 years ago
With this solution: can i have widgets on the page default as hidden and show them on demand?
They will render to whatever the last msg to them was (as long as Node-RED wasn't restarted, but you could also inject once on startup with the inject node, so this would be persistent even when Node-RED was restarted). I think I will add this as an option to every widget also, either the hidden attribute or just the possibility to add arbitrary style attributes.
I think there should be an option for every widget. Cause i want to show certain widgets only on demand and if i need to inject first the hidden attribute, it complicates things on node-red side, and also on browser (rendering) side.
skipping that. can be done via sending
{"style":{"display":"none"}}
to a widget