Browse documentation

VnodeWithDom

Type. Element vnode with an attached DOM node.

Table of contents

Category

Type

Type import

ts
import type { VnodeWithDom } from "valyrian.js";

Public signature

ts
interface VnodeWithDom extends Vnode { tag: string; dom: DomElement; props: Properties; }

Type usage

VnodeWithDom narrows a vnode to an element vnode whose DOM node and properties exist.