loadPrototype
Loads a component prototype as a child of the given component
object and calls
paintChild to render the object.
Syntax
loadPrototype(parentComp,
prototypePath);
Parameters
- parentComp -
(jsx3.app.Model) The parent component to load the prototype into.
- prototypePath -
(String) The relative path to the prototype XML.
Returns
- jsx3.app.Model - The
instance of the deserialized component.
Copyright © Cloud Software Group, Inc. All rights reserved.