Skip to content

Digoro/ngx-cron-ui

Repository files navigation

version Angular

NgxCronUi

Angular module for cron schedule editor

Version

  • Angular <= 9, 0.5.0
  • Angular > 11, 0.6.0

Install

npm

$ npm install --save ngx-cron-ui

Get started

  1. import NgxCronUiModule
// app.module.ts

import { NgxCronUiModule } from 'ngx-cron-ui';

@NgModule({
  imports: [
    NgxCronUiModule
  ]
})
  1. set config.
//app.component.ts

config: NgxCronUiConfig = {
    option: {
      minute: false,
      hour: false,
      year: false
    },
    isSetDefaultValue: true,
    isBaseFrequencyNewLine: true
  }
  1. add ngx-cron-ui component.
<!-- app.html -->

<ngx-cron-ui (onChangeEvent)="changeSchedule($event)" [config]="config"></ngx-cron-ui>

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published