changeViewportStyle
Changes the style attribute of the HTML viewport element.
Signatures
- Paramate.Viewport.changeViewportStyle( changes )
Details
The function overwrites style elements of the viewport element.
Example
viewPort.changeViewportStyle({cursor: 'crosshair'});
Parameters
- changes
-
A JavaScript object that contains CSS style elements that will be applied to the viewport.