Destroying Instances
Before finally removing <fsi-imageflow> nodes from the DOM, you need to call the
destroy() method of the node.
This will release all event handlers and free allocated resources.
Example:
var node = document.getElementById("myViewer");
node.destroy();
node.parentNode.removeChild(node);
5.4 JavaScript Interface
FSIImageFlow = new $FSI.ImageFlow();
FSIImageFlow.init(dir:"images/foo");
I) Public Methods
void
init(elementID, oParameters, bDebug);
Initializes the FSI Image Flow instance with the given
parameters.
void
printAPI();
Shows all API methods in the console in alphabetical order.
void
destroy();
Destroys the FSI ImageFlow instance leaving the empty
container <div> only. You can re-use the same container
calling FSIImageFlow.init()
bInitDone
getInitDone();
Returns if the initialization process is done.
5 FSI ImageFlow
NeptuneLabs - FSI Viewer
128