"ng-mouseover" yönergesini "ng-if" olan görüntüde kullanmaya çalışıyorum ve çalışmıyor, ancak "ng-show" kullanırsam Direktif işe yarıyor, herkes bana nedenini söyleyebilir mi? Yoksa bu bir AngularJS problemi mi? Ben bu konuda hiçbir şey okuyamaz angularjs belgelerindeng-mouseover, ng-if ile çalışmaz
: https://docs.angularjs.org/api/ng/directive/ngMouseover
ng-show
<button ng-show="true" ng-mouseover="countOne = countOne + 1" ng-init="countOne=0">
Increment (when mouse is over)
</button>
Count: {{countOne}}
<button ng-if="true" ng-mouseover="countTwo = countTwo + 1" ng-init="countTwo=0">
Increment (when mouse is over)
</button>
Count: {{countTwo}}
ng -eğer Fiddle:
http://plnkr.co/edit/Wb6bjyJdHj5qoH7fxGFJ?p=info