An open API service indexing awesome lists of open source software.

https://github.com/amiryxe/rtl-timepicker

jQuery RTL Time Picker
https://github.com/amiryxe/rtl-timepicker

clockpicker javascript jquery material-design persian rtl timepicker

Last synced: about 2 months ago
JSON representation

jQuery RTL Time Picker

Awesome Lists containing this project

README

        

# RTL Time Picker

RTL Support and flexible to change language.

View Demo

# How to use

1. Make sure your Project included jQuery library
2. Include `mdtimepicker.css` and `mdtimepicker.js` like this:

```html

```

3. Create a input for Time Picker

```html

```

4. Add this code to `Script` tag

```Javascript
$(document).ready(function(){
$('#timepicker').mdtimepicker(); //Initializes the time picker
});
```

```javascript
// Example of more configs:

$("#timepicker").mdtimepicker({
timeFormat: "hh:mm:ss.000", // format of the time value (data-time attribute)
format: "hh:mm tt", // format of the input value
readOnly: false, // determines if input is readonly
hourPadding: false,
theme: "green",
okLabel: "تائید",
cancelLabel: "انصراف",
});
```

Developed based on MDTimePicker