Enable/Disable Anchor Tags using AngularJS

后端 未结 11 1582
一整个雨季
一整个雨季 2020-12-01 05:45

How do I enable/disable anchor tags using the directive approach?

Example:

  1. while clicking on edit link, create & delete needs to be disabled or g
11条回答
  •  悲&欢浪女
    2020-12-01 06:41

    ui-router v1.0.18 introduces support for ng-disabled on anchor tags

    Example: nogo

    • https://github.com/angular-ui/ui-router/issues/2957

    • https://github.com/angular-ui/ui-router/pull/3692/commits/a59fcae300f9d8f73a5b91fa77c92b926e68281d

提交回复
热议问题