Skip to content

kanety/jquery-ui-durationspinner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jquery-ui-durationspinner

Time duration spinner using jquery-ui.

Dependencies

Include following libraries before use.

  • jquery-ui-dist
  • moment
  • moment-duration-format

Installation

Install from npm:

$ npm install @kanety/jquery-ui-durationspinner --save

Usage

Create a spinner:

$('input.spinner').durationspinner();

Change time format to hh:mm:ss:

$('input.spinner').durationspinner({ format: 'hh:mm:ss', step: 1, page: 60 });

You can use dhms for the format.

  • d: days
  • h: hours
  • m: minutes
  • s: seconds

License

The library is available as open source under the terms of the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published