Browse documentation

createElement

Creates a DOM or SVG element for the requested tag.

Table of contents

Category

Value

Import

js
import { createElement } from "valyrian.js";

Public signature

ts
(tag: string, isSVG: boolean): DomElement

Parameters

ts
tag: string, isSVG: boolean

Result

ts
DomElement