Add binding basic test pages.

This commit is contained in:
Vasil Chimev
2015-07-06 18:43:12 +03:00
parent 6b4fc789e3
commit 1f136e1e6d
5 changed files with 129 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
<Page>
<StackLayout>
<StackLayout loaded="stack0Loaded" orientation="horizontal">
<TextField id="tf" text="{{ textSource }}" />
<Button id="btn" />
</StackLayout>
<StackLayout loaded="stack1Loaded">
<Label id="label" text="{{ text }}" />
</StackLayout>
<StackLayout loaded="stack2Loaded">
<Button id="button" text="{{ myProperty }}" tap="{{ myFunction }}" />
</StackLayout>
<StackLayout loaded="stack3Loaded">
<ListView id="listView" items="{{ myItems }}">
<ListView.itemTemplate>
<Label id="item" text="{{ text }}" />
</ListView.itemTemplate>
</ListView>
</StackLayout>
</StackLayout>
</Page>