This library supports Angular version 11.0.5.
Import import { NcronGeneratorModule } from 'ngx-cron-generator';
in your app.module.ts or in any lazy loading module.
Add NcronGeneratorModule
in particular module's imports array
Add <ngx-cron-generator></ngx-cron-generator>
in your html component.
Add <ngx-cron-generator (cronResult)="cronChange($event)"></ngx-cron-generator>
in your html component.
<ngx-cron-generator formControlName="myFormControlName" (cronResult)="cronChange($event)"></ngx-cron-generator>
,
create getCronResult($event) method in your component.
This library has dependency of Bootstrap minimun version 4.1.3