changeViewportStyle

Changes the style attribute of the viewport.

Signatures

  • Paramate.Viewport.changeViewportStyle( changes )

Details

The function changes the style of the viewport element.

Example

   viewPort.changeViewportStyle({cursor: 'crosshair'});
 

Parameters

changes

The CSS changes as a JS object.