SyntaxFix
Write A Post
Hire A Developer
Questions
You can try this
<a [attr.disabled]="someCondition ? true: null"></a>