Skip to content

edonv/crontab-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crontab Editor

NPM Version

Usage

<head>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/crontab-editor/dist/style.css">
</head>

<body>
    ...

    <input id="text-field" type="text" value="* * * * *">
    <div id="crontab-popover-wrapper"></div>

    ...

    <script type="module">
        import CrontabEditor from 'https://cdn.jsdelivr.net/npm/crontab-editor/dist/index.js';

        const editor = new CrontabEditor(
            document.getElementById('text-field'),
            document.getElementById('crontab-popover-wrapper'),
        );
    </script>

    ...
</body>

To-Do's

  • Clean up CSS and document classes for easier external styling.
  • Update rollup config to eliminate need for imports and the client import can use jsdelivr's default file directly

About

HTML/JS crontab editor, dependency-free

Topics

Resources

License

Stars

Watchers

Forks

Contributors