mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 12:57:42 +08:00
17 lines
582 B
TypeScript
17 lines
582 B
TypeScript
declare module "ui/builder" {
|
|
import { View, Template, KeyedTemplate } from "ui/core/view";
|
|
import { Page } from "ui/page";
|
|
|
|
export function load(fileName: string, exports?: any): View;
|
|
export function load(options: LoadOptions): View;
|
|
export function parse(value: string | Template, exports?: any): View;
|
|
export function parseMultipleTemplates(value: string, exports?: any): Array<KeyedTemplate>;
|
|
|
|
export interface LoadOptions {
|
|
path: string;
|
|
name: string;
|
|
attributes?: any;
|
|
exports?: any;
|
|
page?: Page;
|
|
}
|
|
} |