我的页面中有一个角度锚标记,当它被禁用时,它仍然可以在Microsoft Edge浏览器中单击。
<a ng-disabled="true" ng-click="Click()">Link</a>
a[disabled] {
pointer-events: none;
}
我该如何解决这个问题?
答案 0 :(得分:0)
尝试:
.disabled {
cursor: not-allowed;
}
<a ng-click="disabled()" ng-class="{disabled: addInviteesDisabled()}">Link</a>
$scope.disabled = function() {
//your display logic goes here should return true/false
}