Skip to content

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

Notifications You must be signed in to change notification settings

grimmlink/TimingField

Repository files navigation

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();
...

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published