Home > @jsplumbtoolkit/browser-ui > xml > createElement
xml.createElement() method
Creates an XML element.
Signature:
static createElement(name: string, attributes: any, text: string): any;
Parameters
Parameter | Type | Description |
---|---|---|
name | string | Tag name of the element to create. |
attributes | any | Optional map of attribute names and values. |
text | string | Optional text for the element. |
Returns:
any
An XML element.