From 5e555bcfd4669e14bcf14fa36517f5e5dd847de9 Mon Sep 17 00:00:00 2001 From: Hristo Hristov Date: Tue, 28 Mar 2017 17:55:44 +0300 Subject: [PATCH] More application module changes --- Modules30Changes.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Modules30Changes.md b/Modules30Changes.md index 09cecabd2..b2b430fe0 100644 --- a/Modules30Changes.md +++ b/Modules30Changes.md @@ -35,6 +35,20 @@ We are using the following import statement for the code samples in this section import * as application from "tns-core-modules/application"; ``` +`application.mainEntry` was removed. + +`application.mainModule` was removed. + +Pass `mainModule` or `mainEntry` to `application.start` method. +If you need access to `mainEntry` use: +* `application.getMainEntry(): NavigationEntry` + +The string `mainModule` is implicitly converted to `NavigationEntry` and set to `mainEntry`. + +`application.resources` was removed, use get/set methods: +* `application.getResources(): any` +* `application.setResources(res: any)` + `application.cssFile` was removed, use get/set methods: * `application.getCssFileName(): string` * `application.setCssFileName(file: string)`