Class atribute registered and used instead cssClass

This commit is contained in:
Vladimir Enchev
2015-09-18 09:47:55 +03:00
parent 601dffcbab
commit 744de9670e
19 changed files with 63 additions and 58 deletions

View File

@@ -57,7 +57,7 @@ import labelModule = require("ui/label");
// <Page>
// {%raw%}<ListView items="{{ myItems }}">
// <ListView.itemTemplate>
// <Label text="{{ title || 'Downloading...' }}" textWrap="true" cssClass="title" />
// <Label text="{{ title || 'Downloading...' }}" textWrap="true" class="title" />
// </ListView.itemTemplate>
// </ListView>{%endraw%}
// </Page>

View File

@@ -32,7 +32,7 @@ import labelModule = require("ui/label");
// <Page>
// {%raw%}<Repeater items="{{ myItems }}">
// <Repeater.itemTemplate>
// <Label text="{{ title || 'Downloading...' }}" textWrap="true" cssClass="title" />
// <Label text="{{ title || 'Downloading...' }}" textWrap="true" class="title" />
// </Repeater.itemTemplate>
// </Repeater>{%endraw%}
// </Page>