mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Added application resources (used for binding converters), also some bug
fixes (binding related).
This commit is contained in:
@@ -6,6 +6,8 @@ import styleScope = require("ui/styling/style-scope");
|
||||
|
||||
export var cssFile: string = "app.css"
|
||||
|
||||
export var resources: any = {};
|
||||
|
||||
export var onUncaughtError: (error: definition.NativeScriptError) => void = undefined;
|
||||
|
||||
export var onLaunch: (context: any) => any = undefined;
|
||||
|
||||
5
application/application.d.ts
vendored
5
application/application.d.ts
vendored
@@ -23,6 +23,11 @@ declare module "application" {
|
||||
*/
|
||||
export var mainModule: string;
|
||||
|
||||
/**
|
||||
* An application level static resources.
|
||||
*/
|
||||
export var resources: any;
|
||||
|
||||
/**
|
||||
* The application level css file name (starting from the application root). Used to set css across all pages.
|
||||
* Css will be applied for every page and page css will be applied after.
|
||||
|
||||
Reference in New Issue
Block a user