Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49184

Ng-href nested event

$
0
0

@samuele.panarotto wrote:

Good morning,

in the following code:

<ion-view view-title="Title" cache-view="false">
  <ion-content>
    <ion-list ng-controller="MyCtrl" can-swipe="true">
    	<ion-item ng-repeat="item in items" class="item-remove-animate" ng-href="#/tab/newpage/{{item.cod}}">
        <div class="row">
          <div class="col-10">
            <i class="icon ion-coffee ionic-icon-size-medium"></i>
          </div>
          <div class="col-90">
            <h2>{{item.descr}}</h2>
          </div>
        </div>
      </ion-item>
    </ion-list>
  </ion-content>
</ion-view>

each time I click on an item of the list, I get 2 events.

Could you explain me why?

Thank you

Samuele

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>