ngx-cron-ui
v0.6.0
Published
<a href="https://www.npmjs.com/package/ngx-cron-ui" target="_blank"><img src="https://img.shields.io/npm/v/ngx-cron-ui.svg?style=flat-square&color=007acc&label=version&logo=NPM" alt="version" /></a> <a href="https://github.com/Digoro/ngx-cron-ui/blob/mast
Readme
NgxCronUi
Install
npm
$ npm install --save ngx-cron-uiGet 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-uicomponent.
<!-- app.html -->
<ngx-cron-ui (onChangeEvent)="changeSchedule($event)" [config]="config"></ngx-cron-ui>