Monday, July 13FreeJQuery

Tag: Clickable Component For Angular 4+

Clickable Component For Angular 4+
Plugins

Clickable Component For Angular 4+

Clickable Component For Angular 4+ Clickable Component Angular 4+ Directive adding pointer cursor for elements using (click) directive, prevents event when disabled.installation of Clickable ComponentGet it from npm i angular-clickable-click --save Import ClickableClickModuleimport { ClickableClickModule } from 'angular-clickable-click';@NgModule({ // ... imports: [ClickableClickModule], // ... }) class AppModule {}Usage@Component({ selector: 'app', template: ` <div (click)="isDisabled = true" [disabled]="isDisabled"> I am <b *ngIf="isDisabled">no longer</b> clickable </div> ` }) export class AppComponent { public isDisabled: boolean = false; }User Input User actions such as clicking a...