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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

resize 3dimage widget / Javascript

Giuseppe_Fiore
15-Moonstone

resize 3dimage widget / Javascript

Is it possible to change the width and height  of 3DImage with the javascript code?

I tried in every way but in the end it does not change anything.

 

i used this code.

 

$scope.add=function() {

$scope.setWidgetProp("3DImage-1", "width", parseInt($scope.getWidgetProp("3DImage-1", "width")) + 1);

}

 

 

or 

$scope.add=function() {

$scope.view.wdg["3DImage-1"].width += 1
}

 

but not working.

 

 

Thnx

Giuseppe

0 REPLIES 0
Top Tags