IOS stylers

This commit is contained in:
vakrilov
2015-10-29 15:27:12 +02:00
parent 815a4fc23c
commit 7e85de351e
9 changed files with 95 additions and 11 deletions

View File

@@ -0,0 +1,5 @@
import frame = require("ui/frame");
export function navigate(args) {
frame.topmost().navigate("action-bar/clean");
}

View File

@@ -8,6 +8,6 @@
</ActionBar>
</Page.actionBar>
<StackLayout>
<Button text="do nothing"/>
<Button text="go to cleared page" tap="navigate"/>
</StackLayout>
</Page>

View File

@@ -0,0 +1,13 @@
<Page>
<Page.actionBar>
<ActionBar title="Page Title">
<NavigationButton text="go back"/>
<ActionBar.actionItems>
<ActionItem text="ITEM" />
</ActionBar.actionItems>
</ActionBar>
</Page.actionBar>
<StackLayout>
<Button text="do nothing"/>
</StackLayout>
</Page>

View File

@@ -0,0 +1,5 @@
import frame = require("ui/frame");
export function navigate(args) {
frame.topmost().navigate("action-bar/clean");
}

View File

@@ -1,6 +1,6 @@
<Page>
<Page.actionBar>
<ActionBar title="Page Title" style="background-color: green;">
<ActionBar title="Page Title" style="color: green;">
<NavigationButton text="go back"/>
<ActionBar.actionItems>
<ActionItem text="ITEM" />
@@ -8,6 +8,6 @@
</ActionBar>
</Page.actionBar>
<StackLayout>
<Button text="do nothing"/>
<Button text="go to cleared page" tap="navigate"/>
</StackLayout>
</Page>