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

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

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
Announcements

Top Tags