@kloudsoftware/eisen
Version:
Declarative and expressive TypeScript framework for building modern web applications
16 lines (15 loc) • 492 B
TypeScript
import { VApp } from "./VApp";
import { VNode } from "./VNode";
declare type PatchFunction = (parent: HTMLElement) => HTMLElement;
export declare class Renderer {
$knownAttributes: Set<string>;
private static removeElement;
diffAgainstLatest(app: VApp): PatchFunction;
diff(snapshot: VApp, vApp: VApp): PatchFunction;
renderTree(node: VNode): HTMLElement;
private diffElement;
private diffInnerHtml;
private diffAttributes;
private diffValue;
}
export {};