Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 748 Bytes

README.md

File metadata and controls

50 lines (39 loc) · 748 Bytes

TimingField

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

Requirements

  • jQuery
  • Twitter Bootstrap

Installation

Installation with composer :

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

Configuration

This is the current available configuration :

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

Usage

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