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

How to toggle "always on top" from javascript?

SOLVED
Newbie

How to toggle "always on top" from javascript?

Hello,

I have a model item that I want to be on top for only a specific part of my sequence. How do I toggle this on and off using java script? Currently I am trying:  $scope.view.wdg['modelItem-1']['always on top'] = true; but this does not seem to be correct. Thank you!

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: How to toggle "always on top" from javascript?

The correct syntax for "Always on top" is:

$scope.view.wdg['modelItem-1']['decal'] = true;

2 REPLIES 2
Highlighted

Re: How to toggle "always on top" from javascript?

The correct syntax for "Always on top" is:

$scope.view.wdg['modelItem-1']['decal'] = true;

Re: How to toggle "always on top" from javascript?

Thank you! Is there a place where I can look up the javascript syntax for various fields?