0.5.0 • Published 5 years ago

jquery-fugit v0.5.0

Weekly downloads
406
License
MIT
Repository
github
Last release
5 years ago

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.