Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
I want to increase the number by 1 inside the label every time a button is clicked. Any help would be appreciated.
Solved! Go to Solution.
Actually, I found the answer...
var x = 0;
$scope. click = function(){
x = x +1
$scope.setWidgetProp( "label-1", "text", x); };
Actually, I found the answer...
var x = 0;
$scope. click = function(){
x = x +1
$scope.setWidgetProp( "label-1", "text", x); };