ionic获取事件中的对象
ng-click="submit1($event, 'argsTest’)" $scope.submit1=function(event, args){ var target = event.currentTarget; console.log('[Trade1Page1Ctrl.submit1]name:'+target.getAttribute('name')); console.log('[Trade1Page1Ctrl.submit1]args:'+args); }
本文来自博客园,作者:广林,转载请注明原文链接:https://www.cnblogs.com/guanglin/p/5199995.html