mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
Update Readme.md
This commit is contained in:
@ -1,12 +1 @@
|
|||||||
# Ani
|
Contains the application abstraction with all related methods.
|
||||||
```javascript
|
|
||||||
// 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");
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user