Function: createElement()
createElement<T
>(tag
, style
?, attributes
?): T
Function used to create DOM elements easily.
Type Parameters
• T extends HTMLElement
Parameters
• tag: string
• style?: Partial
<CSSStyleDeclaration
>
• attributes?: PlainObject
<string
>
Returns
T
Defined in
sigma/src/utils/misc.ts:6