Minimal jQuery Timer Picker Plugin Wickedpicker - Download Minimal jQuery Timer Picker Plugin - Wickedpicker

Download Minimal jQuery Timer Picker Plugin – Wickedpicker

Posted on

This time I will share jQuery Plugin and tutorial about Minimal jQuery Timer Picker Plugin – Wickedpicker, hope it will help you in programming stack.

Minimal jQuery Timer Picker Plugin Wickedpicker - Download Minimal jQuery Timer Picker Plugin - Wickedpicker
File Size: 28 KB
Views Total: 29818
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Wickedpicker is a simple, lightweight jQuery plugin that attaches a 24-hour or 12-hour time picker to your text field when clicked on.

Basic usage:

1. Add jQuery library together with the wickedpicker.css and wickedpicker.js to the webpage.

1 <link rel="stylesheet" href="stylesheets/wickedpicker.css">
2 <script src="src/wickedpicker.js"></script>
3 <script src="//code.jquery.com/jquery-1.11.3.min.js"></script>

2. Just call the plugin on the desired text field and we’re done.

1 $('.selector').wickedpicker();

3. Default plugin settings.

01 $('.selector').wickedpicker({
02  
03   // current time
04   now: new Date(),
05  
06   // 12- or 24-hour format
07   twentyFour: false,
08  
09   // CSS classes
10   upArrow: 'wickedpicker__controls__control-up',
11   downArrow: 'wickedpicker__controls__control-down',
12   close: 'wickedpicker__close',
13   hoverState: 'hover-state',
14  
15   // title
16   title: 'Timepicker'
17    
18 });

Change logs:

2016-08-16

  • Fixing bug with config option now that was setting the wrong meridiem

2016-08-13

  • Removing accidental console.log

2016-07-25

  • Adding clearable picker input

2016-03-31

  • Fixed Wickedpicker position and AM PM toggle on input click/focus

2016-03-06

  • Added feature to close Wickedpicker when anything outside the timpepicker is clicked

2016-03-01

  • Adding keyboard functionality and more options

This awesome jQuery plugin is developed by ericjgagnon. For more Advanced Usages, please check the demo page or visit the official website.

source : jqueryscript.net