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

Ng-focus/ng-blur doesn't work on ion ion-item?

$
0
0

@Sumeet123 wrote:

  <ion-item menu-close ng-click="login()" ng-focus="show()" ng-blur="hide()">
          <i class="ion-ios-home-outline"></i>
        </ion-item>

And the functions should alert the message !

  $scope.show=function(){
    alert('focus working');
  }
  $scope.hide=function(){
   alert('blur working');
}

But for some reason this does not work !

ng-focus does not work on ion-item ?

Help is appreciated !

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 49186

Trending Articles



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