Transforms a IElement interface into a Element class, loading the containing unit if necessary. (Those are technically already the same, but this function makes sure its properties are available.)
Creates a deep copy of this element and its children.
Creates a deep copy of this element and its children. Also returns a map from original to new IDs.
Deletes this element from the model.
Detaches this element from the model, so that it can be attached in a different place.
Given an element id, returns the element in this abstract element with that id, otherwise null.
Transforms a IElement interface into a Element class, loading the containing unit if necessary. (Those are technically already the same, but this function makes sure its properties are available.)
Creates and returns a new TemplateGridContents instance in the SDK and on the server. Expects one argument: the IModel object the instance will "live on". After creation, assign or add this instance to a property that accepts this kind of objects.
Creates and returns a new TemplateGridContents instance in the SDK and on the server. The new TemplateGridContents will be automatically stored in the 'contents' property of the parent TemplateGrid element passed as argument.
Generated using TypeDoc
Checks whether all attributes are available ATM