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