Added application resources (used for binding converters), also some bug

fixes (binding related).
This commit is contained in:
Nedyalko Nikolov
2015-03-30 13:44:37 +03:00
parent dfcc820f2f
commit d952faa3c2
8 changed files with 151 additions and 37 deletions

View File

@@ -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;

View File

@@ -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.