0.0.4 • Published 4 years ago

rh-cron v0.0.4

Weekly downloads
5
License
-
Repository
-
Last release
4 years ago

rh-cron

使用方法

  1. 安装库
npm install rh-cron
  1. 引入模块
import { RhCronModule } from 'rh-cron';
...
imports: [
  ...
  RhCronModule
],
  1. 在模板(html文件)中引用
<rh-cron (rhValueChange)='doSomething()'></rh-cron>

api

参数说明类型默认值
[rhInputVisible]是否显示输入框booleanfalse
(rhValueChange)点击保存按钮的回调,将当前的cron表达式的值发出EventEmitter\<string>-

页面预览

版本变更

0.0.4

修改间隔设置最大值为当前设定的maximum-1.例如秒的最大值设定为60,则间隔最大值为59