jquery-fugit

0.5.0 • Public • Published

jQuery Fugit

A lightweight jQuery plugin for time input fields.

Installation

Include Fugit's CSS:

<link rel="stylesheet" href="jquery.fugit.css">

Include jQuery and the Fugit plugin script:

<script src="jquery.js"></script>
<script src="jquery.fugit.js"></script>

Initialize the plugin as follows:

$(document).ready(function() {
  $('input').fugit();
});

Usage

The automated tests in test/tests.js outline most usage scenarios; start there to learn how to interact with the plugin.

Testing

Tests are written in QUnit. As this plugin requires a DOM and jQuery, serve the repo as a web app and open test/index.html in a browser.

Package Sidebar

Install

npm i jquery-fugit

Weekly Downloads

1

Version

0.5.0

License

MIT

Unpacked Size

1.03 MB

Total Files

22

Last publish

Collaborators

  • timgthomas