7.4 JavaScript Interface
The JavaScript interface of FSI Pages JS can be useful if you - for example - want to
set certain actions when FSI Pages JS is initialized, while pages change, the user
interface is used or links are clicked.
7.4.1 Public Methods
void
start();
Starts FSI Pages JS.
nID
getInstanceID();
Returns the ID of the Pages JS object.
void
changeConfig(strCfgFileName, oParameters);
Reset the viewer object and change the configuration to the
given configuration file.
strCfgFileName
(optional): path to the configuration file
(see "cfg" parameter)
oParameters
(optional): an object containing parameters If
present, these parameters will overwrite the parameters
defined upon initialization.
void
printAPI();
Shows all API methods in the console in alphabetical order.
void
init(domElement, oParameters, bDebug);
Initializes the chosen Pages JS element.
7 FSI Pages JS
NeptuneLabs - FSI Viewer
170