element(tagName, className?): any
Defined in: ui.ts:61
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