NgxCronUi
Angular module for cron schedule editor
Install
npm
$ npm install --save ngx-cron-ui
Get started
- import
NgxCronUiModule
// app.module.ts
import { NgxCronUiModule } from 'ngx-cron-ui';
@NgModule({
imports: [
NgxCronUiModule
]
})
- set config.
//app.component.ts
config: NgxCronUiConfig = {
option: {
minute: false,
hour: false,
year: false
},
isSetDefaultValue: true,
isBaseFrequencyNewLine: true
}
- add
ngx-cron-ui
component.
<!-- app.html -->
<ngx-cron-ui (onChangeEvent)="changeSchedule($event)" [config]="config"></ngx-cron-ui>