Search
ShapeLibrary.loadFromXml Method (String, function, function)
See Also
 





Loads the library from the specified XML document.

Namespace: MindFusion.Diagramming
Package: ShapeLibrary.js

 Syntax

JavaScript  Copy Code

function loadFromXml (fileUrl, [onLoad, [onError]])

 Parameters

fileUrl

String. The URL of an XML file where the data should be read from.

onLoad
Optional.

function. A callback that should be invoked if the file is loaded successfully.

onError
Optional.

function. A callback that should be invoked if the file could not be downloaded.

 See Also