Hi I have the following code
<win-list-view item-data-source="notificationsList"
ng-stop-propagation
oniteminvoked="selectAnnouncement($event)"
selection-mode="'none'"
ng-show="notificationsList.length > 0"
ng-cloak>
<win-item-template>
<sp-announcement-item announcement="item.data"
is-load-more-item="item.data.id === showLoadMoreAnnouncementId"
is-active="item.data.id === selectedAnnouncementId"
load-more-action="loadMore"
is-channel-in-database="isChannelInDatabase(item.data.channelId)">
</sp-announcement-item>
</win-item-template>
<win-list-layout></win-list-layout>
</win-list-view>
I have a list and I use oniteminvoked
to call selectAnnouncement
method The thing is my item.data
has a link or a ng-click
directive that at some point it triggers , and I want to stop selectAnnouncement
method beeing also called. Can anyone give me an ideea ? Thanks!
Aucun commentaire:
Enregistrer un commentaire