Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/grimmlink/timingfield

A jquery plugin to transform a timestamp field into an hours/minutes/seconds selector.
https://github.com/grimmlink/timingfield

Last synced: about 2 months ago
JSON representation

A jquery plugin to transform a timestamp field into an hours/minutes/seconds selector.

Awesome Lists containing this project

README

        

TimingField
=================

A jquery plugin to transform a timestamp field into an hours/minutes/seconds selector.

Requirements
------------

* jQuery
* Twitter Bootstrap

Installation
------------

Installation with composer :

```json
...
"require": {
...
"grimmlink/timingfield": "1.1",
...
},
...
```

Configuration
-------------

This is the current available configuration :

```javascript
$.fn.timingfield.defaults = {
maxHour: 23
width: 263,
hoursText: 'H',
minutesText: 'M',
secondsText: 'S',
hasSeconds: true
};
```

Usage
-----

```javascript
...
$('.timestamp').timingfield();
...
```