Button button node click true release false

hey

is it possible to create a button when you click true release button false

now is ther only a button with a choice true or false

regreds
orelio

You would need to create a button using ui-template. This topic may help

thanks works fine
how can i change the background color and text color
thanks

regreds orelio

There are many examples of styling template and ui nodes. A quick search provides many solutions

hey
i have change background and text color thanks for helping
mvg
orelio

here
is my code

.nr-dashboard-template { padding: 0px; }
Momentary Button
(function($scope) { $('.momentary').on('touchstart mousedown', function(e) { e.preventDefault(); //prevent default behavior $scope.send({"payload": true}); }); $('.momentary').on('touchend mouseup', function(e) { e.preventDefault(); //prevent default behavior $scope.send({"payload": false}); }); regreds orelio

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