launcherx/bootstrap-cronui

The jQuery plugin for generating cron string


Keywords
jquery, plugin, form, bootstrap, cron, cronui
License
MIT

Documentation

bootstrap-cronui

Plugin for generating cron string

Plugin usage

Init crunui

$('.cron-tab').cronui();

Plugin options:

Name Type Default Description
initial string '* * * * *' The initial option allows you the set the initial cron value.
dropDownMultiple boolean false Allow to choose multiple values in dropdown
dropDownStyled boolean false Style dropdowns using bootstrap-select plugin
dropDownStyledFlat boolean false Style dropdowns without border radius
dropDownSizeClass string 'col-md-2' Set dropdown column size

Set Value

$.fn.cronui('setValue', '42 10 * * 5');

Get Value

$.fn.cronui('getValue');

License

Copyright (c) 2017 Imants Cernovs under the MIT License.