-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Doncho Minkov
committed
May 19, 2016
1 parent
568296d
commit a539bfb
Showing
1,043 changed files
with
1,461 additions
and
45,695 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
0
...sources/iOS/[email protected] → ...sources/iOS/[email protected]
100755 → 100644
File renamed without changes
0
...sources/iOS/[email protected] → ...sources/iOS/[email protected]
100755 → 100644
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
62 changes: 31 additions & 31 deletions
62
...s/MyApp/app/views/context/context-page.js → ...s/MyApp/app/views/context/context-page.js
100755 → 100644
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
var observable = require("data/observable"); | ||
var frameModule = require("ui/frame"); | ||
|
||
var pageModules = (function() { | ||
|
||
var topmost; | ||
var pageModules = { | ||
|
||
onNavigatedTo: function(args) { | ||
var page = args.object; | ||
page.bindingContext = page.navigationContext; | ||
topmost = frameModule.topmost(); | ||
}, | ||
|
||
// Navigating with context. | ||
navWithContext: function() { | ||
var navigationEntry = { | ||
moduleName: "./views/main/main-page", | ||
animated: false | ||
}; | ||
|
||
topmost.navigate(navigationEntry); | ||
} | ||
} | ||
|
||
return pageModules; | ||
})(); | ||
|
||
|
||
exports.navWithContext = pageModules.navWithContext; | ||
exports.onNavigatedTo = pageModules.onNavigatedTo; | ||
var observable = require("data/observable"); | ||
var frameModule = require("ui/frame"); | ||
|
||
var pageModules = (function() { | ||
|
||
var topmost; | ||
var pageModules = { | ||
|
||
onNavigatedTo: function(args) { | ||
var page = args.object; | ||
page.bindingContext = page.navigationContext; | ||
topmost = frameModule.topmost(); | ||
}, | ||
|
||
// Navigating with context. | ||
navWithContext: function() { | ||
var navigationEntry = { | ||
moduleName: "./views/main/main-page", | ||
animated: false | ||
}; | ||
|
||
topmost.navigate(navigationEntry); | ||
} | ||
} | ||
|
||
return pageModules; | ||
})(); | ||
|
||
|
||
exports.navWithContext = pageModules.navWithContext; | ||
exports.onNavigatedTo = pageModules.onNavigatedTo; |
14 changes: 7 additions & 7 deletions
14
.../MyApp/app/views/context/context-page.xml → .../MyApp/app/views/context/context-page.xml
100755 → 100644
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<Page xmlns="http://www.nativescript.org/tns.xsd" navigatedTo="onNavigatedTo"> | ||
<StackLayout> | ||
<Label text="Nav with Context" textWrap="true" class="title" /> | ||
<Button text="Nav Back" tap="navWithContext" /> | ||
<Label text="{{ info }}" textWrap="true" class="message"/> | ||
</StackLayout> | ||
</Page> | ||
<Page xmlns="http://www.nativescript.org/tns.xsd" navigatedTo="onNavigatedTo"> | ||
<StackLayout> | ||
<Label text="Nav with Context" textWrap="true" class="title" /> | ||
<Button text="Nav Back" tap="navWithContext" /> | ||
<Label text="{{ info }}" textWrap="true" class="message"/> | ||
</StackLayout> | ||
</Page> |
File renamed without changes.
8 changes: 4 additions & 4 deletions
8
.../MyApp/app/views/details/details-page.xml → .../MyApp/app/views/details/details-page.xml
100755 → 100644
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="onLoaded" navigatedTo="onNavigatedTo"> | ||
<StackLayout> | ||
<Label text="Nav with Page Name" textWrap="true" class="title" /> | ||
</StackLayout> | ||
<Page xmlns="http://www.nativescript.org/tns.xsd" loaded="onLoaded" navigatedTo="onNavigatedTo"> | ||
<StackLayout> | ||
<Label text="Nav with Page Name" textWrap="true" class="title" /> | ||
</StackLayout> | ||
</Page> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.