element()
element(
tagName,className?):any
Defined in: js-api/ui.ts:63
Creates an instance of the element for the specified tag, and optionally assigns it a CSS class.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
tagName | string | undefined | The name of an element. |
className | string | null | null | - |
Returns
any