mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 11:01:21 +08:00

* feat(bundle): support for file qualifiers in builder * chore: add qualifiers test app * chore: add @Deprecated for file-name-resolver * fix(hmr): hmr not working for scss files * chore: globals clean-up * shore: fix tslint * tests: uncomment test fixed by ns-dev-webpack * chore: move qualifiers app to e2e * chore: update webpack config * chore: tslint errors * test: fix wrong css import
23 lines
651 B
TypeScript
23 lines
651 B
TypeScript
/**
|
|
* @module "ui/builder"
|
|
*/ /** */
|
|
|
|
import { View, Template, KeyedTemplate } from "../core/view";
|
|
import { Page } from "../page";
|
|
import { NavigationEntry } from "../frame";
|
|
|
|
export interface LoadOptions {
|
|
path: string;
|
|
name: string;
|
|
attributes?: any;
|
|
exports?: any;
|
|
page?: Page;
|
|
}
|
|
|
|
export function createViewFromEntry(entry: NavigationEntry): View;
|
|
export function parse(value: string | Template, exports?: any): View;
|
|
export function parseMultipleTemplates(value: string, exports?: any): Array<KeyedTemplate>;
|
|
|
|
export function load(fileName: string, exports?: any): View;
|
|
export function load(options: LoadOptions): View;
|