UNPKG

@dazejs/framework

Version:

Daze.js - A powerful web framework for Node.js

23 lines (22 loc) 566 B
import { Application } from '../foundation/application'; declare const FINAL_VARS: unique symbol; export declare class View { app: Application; vars: { [key: string]: any; }; template: string; constructor(template?: string, vars?: {}); [FINAL_VARS](vars?: {}): { [key: string]: any; }; assign(name: string | object, value?: any): this; render(template?: string | object, vars?: { [key: string]: any; }): this; getTemplate(): string; getVars(): { [key: string]: any; }; } export {};