createElement Method

Create a new instance of an element.

createElement<T extends Element>(elProps: ElementProps): T extends Element

throws IModelError if there is a problem creating the element.

Parameter Type Description
elProps ElementProps The properties of the new element.

Defined in

Last Updated: 08 January, 2020