mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
code example added
This commit is contained in:
@ -34,6 +34,17 @@ import labelModule = require("ui/label");
|
|||||||
// </Page>
|
// </Page>
|
||||||
//```
|
//```
|
||||||
|
|
||||||
|
// ### Define the Repeater itemsLayout property. Default is <StackLayout orientation="vertical" />.
|
||||||
|
//```XML
|
||||||
|
// <Page>
|
||||||
|
// {%raw%}<Repeater items="{{ myItems }}">
|
||||||
|
// <Repeater.itemsLayout>
|
||||||
|
// <StackLayout orientation="horizontal" />
|
||||||
|
// </Repeater.itemsLayout>
|
||||||
|
// </Repeater>{%endraw%}
|
||||||
|
// </Page>
|
||||||
|
//```
|
||||||
|
|
||||||
// </snippet>
|
// </snippet>
|
||||||
|
|
||||||
var ASYNC = 0.2;
|
var ASYNC = 0.2;
|
||||||
|
Reference in New Issue
Block a user