To set the disabled
property to true
or false
use
<button [disabled]="!nextLibAvailable" (click)="showNext('library')" class=" btn btn-info btn-xs" title="Next Lib"> {{libraries.name}}">
<i class="fa fa-chevron-right fa-fw"></i>
</button>
More Related Contents:
- How to instantiate and apply directives programmatically?
- Get Value From Select Option in Angular 4
- How to extend / inherit components?
- How to access host component from directive?
- How is Angular’s *ngFor loop implemented?
- What is the difference between component and directive?
- What is the difference between Promises and Observables?
- Angular 2: 404 error occur when I refresh through the browser [duplicate]
- Angular 2+ – Set base href dynamically
- Observable type error: cannot read property of undefined
- How to force a component’s re-rendering in Angular 2?
- password and confirm password field validation angular2 reactive forms
- What does the “ng-reflect-*” attribute do in Angular2/4?
- Inheritance and dependency injection
- Angular 2 : routing without changing URL
- How to switch layouts in Angular2
- Cleanest way to reset forms
- Angular2 Tutorial (Tour of Heroes): Cannot find module ‘angular2-in-memory-web-api’
- Angular 2.0. Difference @View @Component
- Cannot read property of ‘xxx’ of undefined
- Can’t bind to ‘for’ since it isn’t a known native property angular2
- Dynamic pipe in Angular 2
- Avoiding relative paths in Angular CLI
- Angular 2 form validating for repeat password
- Angular 4: How to read data from Excel?
- New Angular2 router configuration
- What is the lifecycle of a service in Angular 5
- Angular4 APP_INITIALIZER won’t delay initialization
- Angular load external configuration before AppModule loads
- Do we need to unsubscribe from observable that completes/errors-out?