import { VApplication } from "./VApplication"; import { VBindings } from "./VBindings"; import { VNode } from "./VNode"; /** * Initialization arguments for a virtual node. */ export interface VNodeInit { /** * The DOM node associated with this virtual node. */ node: Node; /** * The virtual application instance this node belongs to. */ vApplication: VApplication; /** * The parent virtual node, if any. */ parentVNode?: VNode; /** * The bindings associated with this virtual node. * This is optional and may be undefined if there are no bindings. */ bindings?: VBindings; /** * The set of identifiers that this node depends on. * This is optional and may be undefined if there are no dependent identifiers. */ dependentIdentifiers?: string[]; }