grimmlink/timingfield

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

Installs: 234

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 3

Forks: 4

Open Issues: 1

Language:JavaScript

1.0 2015-05-26 12:47 UTC

This package is auto-updated.

Last update: 2024-11-10 01:24:34 UTC


README

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