JavaScript API reference for Spin Viewer.
setParam( *
name, value*)
Sets the viewer parameter to a specified value. The parameter is either a viewer-specific configuration option or a software development kit modifier. This parameter is called before init()
.
This method is optional if the viewer configuration information is passed with config
JSON object to the constructor.
See also init.
Returns
None.
Example