NeptuneLabs FSI Viewer JS User Manual page 21

Table of Contents

Advertisement

2 FSI Viewer JS
object to the constructor:
Example:
<head>
[...]
//adding the fsiviewer.js script
<script src="js/fsiviewer.js" type="text/javascript"></script>
</head>
<body>
[...]
//Adding parameters directly to the tag:
<fsi-viewer width="500" height="600" src="/images/sample.jpg"
debug="true" skin="silver">
</fsi-viewer>
debug
Description
Syntax
Default
Context
Display debug and status information in the browser's JavaScript console.
headers
Description
Syntax
Default
Context
The "&headers=" parameter to use for image requests.
The default value "cors" ensures cors compatibility for cross-origin scenarios.
21
display debug and status information in the JavaScript
console
Boolean
false
FSI Viewer JS
display debug and status information in the JavaScript
console
String
"cors"
FSI Viewer JS
NeptuneLabs - FSI Viewer

Advertisement

Table of Contents
loading

Table of Contents