cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Change property 2D WIDGET

Guest

Change property 2D WIDGET

How can I change the visible property of a 2d button through Javascript, without using application parameter but by changing the button properties directly?



  I Tried  this code  :


$scope.view.wdg['button-1']['visible']=true;

but don't function.

THNX to all



Tags (1)
1 REPLY 1

Re: Change property 2D WIDGET

i found the solution 🙂

$scope.app.view['Home'].wdg['toggleButton-3'].visible="false";