grimmlink/timingfield

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

Installs: 143

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 5

Open Issues: 0

Language:JavaScript

1.0 2015-05-26 12:47 UTC

This package is not auto-updated.

Last update: 2020-04-03 17:19:23 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();
...