jquery-duration-picker

WebJar for jquery-duration-picker

License

License

MIT
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

jquery-duration-picker
Last Version

Last Version

0.0.12
Release Date

Release Date

Type

Type

jar
Description

Description

jquery-duration-picker
WebJar for jquery-duration-picker
Project URL

Project URL

http://webjars.org

Download jquery-duration-picker

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/jquery-duration-picker/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>jquery-duration-picker</artifactId>
    <version>0.0.12</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/jquery-duration-picker/
implementation 'org.webjars.bower:jquery-duration-picker:0.0.12'
// https://jarcasting.com/artifacts/org.webjars.bower/jquery-duration-picker/
implementation ("org.webjars.bower:jquery-duration-picker:0.0.12")
'org.webjars.bower:jquery-duration-picker:jar:0.0.12'
<dependency org="org.webjars.bower" name="jquery-duration-picker" rev="0.0.12">
  <artifact name="jquery-duration-picker" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='jquery-duration-picker', version='0.0.12')
)
libraryDependencies += "org.webjars.bower" % "jquery-duration-picker" % "0.0.12"
[org.webjars.bower/jquery-duration-picker "0.0.12"]

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.bower : jquery jar [2.1.4,2.2)
org.webjars.bower : semantic jar semantic-ui#~2.1.4

Project Modules

There are no modules declared in this project.

jquery-duration-picker

This is a small library for picking time durations in javascript.

I wrote this to use in Quera (https://quera.ir).

Example

jQuery-Duration-Picker

jQuery-Duration-Picker

Installation

bower install jquery-duration-picker

Usage

<script type="text/javascript" src="bower_components/jquery/dist/jquery.min.js"></script>
<link rel="stylesheet" href="bower_components/semantic/dist/semantic.min.css"/>
<script type="text/javascript" src="bower_components/semantic/dist/semantic.min.js"></script>
<script type="text/javascript" src="dist/jquery-duration-picker.min.js"></script>
<link rel="stylesheet" href="dist/jquery-duration-picker.min.css"/>
$('.duration-picker').duration_picker();

// or

$('.duration-picker').duration_picker({
    lang: 'en',  // can be 'en', 'fa'
    formatter: some_function // a function that gets numbers displayed in input and returns a formatted one
});
org.webjars.bower

Quera

Practice Programming, Compete, Find Tech Jobs!

Versions

Version
0.0.12