mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Image src and imageSource properties defined
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
<ListView.itemTemplate>
|
||||
<GridLayout columns="auto, *">
|
||||
|
||||
<Image url="{{ favorite ? '~/app/images/fav.png' : '~/app/images/addfav.png' }}" style.visibility="{{ canBeFavorited ? 'visible' : 'collapsed' }}"
|
||||
<Image src="{{ favorite ? '~/app/images/fav.png' : '~/app/images/addfav.png' }}" style.visibility="{{ canBeFavorited ? 'visible' : 'collapsed' }}"
|
||||
tap="toggleFavorite" width="32" height="32" vertical-align="center" margin="20" />
|
||||
|
||||
<StackLayout col="1">
|
||||
|
||||
Reference in New Issue
Block a user