disable disabled html element button input div

Solutions on MaxInterview for disable disabled html element button input div by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "disable disabled html element button input div"
Patrick
26 Mar 2018
1disabled will disable an element whether it is true or false, it's presence means that the element will be disabled
2
3<button disabled></button>
4<button disabled="true"></button>
5<button disabled="false"></button>
6<button [attr.disabled]="true"></button>
7<button [attr.disabled]="false"></button>
8<button [disabled]="true"></button>
9
10----- OR FOR DIV
11
12.disabled-contenct {
13  pointer-events: none;
14  opacity: 0.4;
15}
16
17<div [class.disabled-contenct]="!isDisabledContent"></div>
18--------
19--- primer uporabe v Angular Template
20<input 
21   [attr.disabled]="(areDocumentsConfirmed() | async) ? null : true"