Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! 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); };