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