NeptuneLabs FSI Viewer JS User Manual page 84

Table of Contents

Advertisement

2 FSI Viewer JS
onResize(nWidth, nHeight, bResizeDone,
BFullScreen);
Called when the fsi-viewer element is resized.
onSkinChanged(strCurrentSkinClass,
strCurrentSkinClassBefore)
This optional callback function can be used to call an action
as soon as the skin class is changed.
onRegisterExternalMenuButtons()
This optional callback function can be used to call an action
as soonexternal menu buttons are registered.
onAfterRegisterExternalButton(elButton,
strButtonID, bButtonPresentInViewer)
This optional callback function can be used to remove
inactive buttons from the menu bar if you are using a custom
skin.
onProgress(fPercent);
This optional callback function can be called while the loading
progress.
onMenuButtonEnabled( strButtonID, null, bEnable);
This optional callback function can be used call an action
when a button is enabled or disabled.
onMenuButtonPressed(strButtonID, evt);
This optional callback function can be used to set an action
that starts when a button is pressed.
NeptuneLabs - FSI Viewer
84

Advertisement

Table of Contents
loading

Table of Contents