UNPKG

loadax

Version:

Universal powerful solution for creating web app

15 lines (14 loc) 737 B
import { ModuleLoader as Loadax, ModuleBase, LoadedModuleBase, ModuleInstance, ModuleRoute, ModuleType } from "./loader/ModuleLoader"; export default Loadax; export type { ModuleBase, LoadedModuleBase, ModuleInstance, ModuleRoute, ModuleType }; export declare const LoadaxJsx: (tagName: any, attrs?: { [k: string]: any; }, ...children: any) => any; export declare const CreateApp: (node: string, component: Node) => void; export declare const Context: <T = any>(data: T, components?: any[]) => { data: T; set(obj: {}): void; update(obj: {}): void; }; export declare const Before: (action: (it: any) => void, component: any) => void; export declare const After: (action: () => void, component: any) => void;