mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00

Expose an `application.addCss` method and hide `application.cssSelectors` from end-user typings. Update StyleScope's with new application selectors on style application. NOT updating existing controls/views unless reloaded, or forced (via a change to className, etc).
Ani
// put this in the bootstrap.js
var app = require("application");
var frameModule = require("ui/frame");
app.onLaunch = function(context) {
var frame = new frameModule.Frame();
frame.navigate("testPage");
}