What's
new
in
3.0
-
introduced
translation mode -
introduced
large mode -
improved
UX/UI -
scripts
completely
redesigned
How it
works
Get
started
1. Add datedropper libs on your HTML
Make sure to insert the js after the jQuery instance
2. Create the element that will be your datedropper
You must use the input tag and set "text" to the "type" property
3. Initialize script
Define element and function
<html>
<link href="datedropper.css" rel="stylesheet" type="text/css" />
<!-- jQuery lib -->
<script src="jquery.min.js"></script>
<!-- dateDropper lib -->
<script src="datedropper.js"></script>
<body>
<input type="text" />
<!-- init dateDropper -->
<script>
Docs
Options
Now you can apply any options through data-attributes and no longer via JavaScript.
<input type="text" data-lang="it" />
Custom CSS
Now you can apply style properties through CSS and no longer via JavaScript. Therefore, use the theme generator to make all your customizations.
<input type="text" data-theme="YOUR CUSTOM NAME" />