--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/tKJo2Ho34jA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
For more options, visit https://groups.google.com/d/optout.
in my setup, I currently use the template node to inject js code to display a clock on the top right corner
Hi,yes exactly. And certainly we would like to see the dashboard (or some version of it) be able to be installed in a modular fashion, so that everyone can add widgets in the same way they can add nodes today.
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
<md-button onclick="update()">
</md-button>
update
<p id="demo">
JavaScript
</p>
<script>
function update()
{
x = document.getElementById("demo");
x.innerHTML = "text updated";
}
</script>
--
Youll need to attach any values you want to use in the template to the msg object you pass to it - you cannot access context properties directly from that node.
Nick
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
For more options, visit https://groups.google.com/d/optout.
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
x.innerHTML = "{{msg.payload}}";
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/4151f971-0f15-4350-84d2-12c280d3fa1d%40googlegroups.com.
Hi Steve,you should find the 'ui_control' node in your palette. This is a node that allows you to programatically control the dashboard - currently, the only thing it allows you to control is which tab is being displayed - exactly what you want.All you do is pass the name of the tab you wish to be displayed into a ui_control node.[{"id":"202f797c.021d56","type":"inject","z":"36c569f1.6c7ba6","name":"","topic":"","payload":"home","payloadType":"str","repeat":"","crontab":"","once":false,"x":130,"y":320,"wires":[["43ea2bff.6fe6e4"]]},{"id":"43ea2bff.6fe6e4","type":"ui_ui_control","z":"36c569f1.6c7ba6","name":"ui control","x":300,"y":360,"wires":[[]]},{"id":"23f7d29a.d72bce","type":"inject","z":"36c569f1.6c7ba6","name":"","topic":"","payload":"away","payloadType":"str","repeat":"","crontab":"","once":false,"x":130,"y":400,"wires":[["43ea2bff.6fe6e4"]]}]Regards,Nick
On 1 January 2017 at 23:35, Steve Heistand <steveh...@gmail.com> wrote:
Having looked over this thread Im still at a loss as to how its possible
even in an overly complicated way to programmatically change the flow
that is being currently shown in the browser.
any help/pointers would be appreciated.
thanks
s
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.