vue-pure-cron
v1.1.0
Published
Vue pure cron is a vue component designed to generate commonly used cron expression.
Downloads
3
Readme
Vue Pure Cron
Introduction
Vue pure cron is a vue component designed to generate commonly used cron expression.
Install via npm
npm install vue-pure-cron --save
Quick Start
import Vue from 'vue';
import PureCron from 'vue-pure-cron';
Vue.use(PureCron);
Recent updates
- Multi-language supported: English(default) and Simplified Chinese
Attributes
| Attribute name |Description|Type|Default|Attention
|-|-|-|-|-|
|width|width of the component|string, number|'100%'
|Component has a min-width of 420px|
|showOperationPanel|If operation panel is displayed|boolean|true
|-|
|defaultLang|Default Lang of Vue Pure Cron|string|en
|-|
|showLangSwitch|If language switch is displayed|boolean|true
|-|
Events
| Event name|Description| Parameters|Attention
|-|-|-|-|
|generate|triggers when confirm btn is clicked|exp(generated cron expression)|confirm btn only shows when showOperationPanel attr is true
|