Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/levo/src/virtual-node.ts>VirtualNode

Server side rendering with The Elm Architecture in Deno
Latest
type alias VirtualNode
import { type VirtualNode } from "https://deno.land/x/levo@v0.0.27/src/virtual-node.ts";

Note: 'on*' and '*' do not represent the actual type, they are just to ease typechecking on levo-runtime.ts

definition: ({ $: "_text"; value: string; style?: undefined; children?: undefined; ref?: undefined; on*?: undefined; *?: undefined; } | ({ $: "_other"; style?: Partial<Record<string, string>>; children?: VirtualNode<Action>[]; ref?: undefined; *?: string; }))