mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Class atribute registered and used instead cssClass
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user