How to make a "back" button using ui_button

Hello,
I'm trying to make "back" button like browser using dashboard button.
image

I need only the function, not the style.
Maybe someone has an example?

If you mean for navigating between dashboard tabs the just a button sending -1 to the ui_control node will do the trick

[{"id":"8890a6bf.925018","type":"ui_ui_control","z":"ea1d3f40.afc6e","name":"","events":"all","x":220,"y":1460,"wires":[[]]},{"id":"5105a58b.bd1bdc","type":"ui_button","z":"ea1d3f40.afc6e","name":"","group":"f91b9a43.f760e8","order":0,"width":0,"height":0,"passthru":false,"label":"to home","tooltip":"","color":"","bgcolor":"","icon":"","payload":"-1","payloadType":"str","topic":"topic","topicType":"msg","x":80,"y":1460,"wires":[["8890a6bf.925018"]]},{"id":"f91b9a43.f760e8","type":"ui_group","name":"Default","tab":"9a079017.798be","order":1,"disp":true,"width":"6","collapse":false},{"id":"9a079017.798be","type":"ui_tab","name":"Away","icon":"dashboard","disabled":false,"hidden":false}]
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.