mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
another code snippet added
This commit is contained in:
@ -45,6 +45,22 @@ import labelModule = require("ui/label");
|
||||
// </Page>
|
||||
//```
|
||||
|
||||
// ### Repeater with WrapLayout inside ScrollView.
|
||||
//```XML
|
||||
// <Page>
|
||||
// {%raw%}<ScrollView>
|
||||
// <Repeater items="{{ myItems }}">
|
||||
// <Repeater.itemsLayout>
|
||||
// <WrapLayout />
|
||||
// </Repeater.itemsLayout>
|
||||
// <Repeater.itemTemplate>
|
||||
// <Label text="{{ $value }}" margin="10" />
|
||||
// </Repeater.itemTemplate>
|
||||
// </Repeater>
|
||||
// <ScrollView>{%endraw%}
|
||||
// </Page>
|
||||
//```
|
||||
|
||||
// </snippet>
|
||||
|
||||
var ASYNC = 0.2;
|
||||
|
Reference in New Issue
Block a user