-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2d09496
commit 1db2902
Showing
1 changed file
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,12 @@ Materialize Persian Date and time picker by A1Gard 4xmen.ir | |
|
||
## screenshot | ||
|
||
<div align="center"> | ||
|
||
 | ||
|
||
</div> | ||
|
||
## How to use | ||
|
||
Add jquery: | ||
|
@@ -22,21 +26,30 @@ Add jquery: | |
<script type="text/javascript" src="../dist/jquery.min.js"></script> | ||
``` | ||
|
||
Add additional font for best view or use [vazir-code-font](https://www.npmjs.com/package/vazir-code-font): | ||
Add additional font for best view or use [Vazir-Matn-Font](https://www.npmjs.com/package/vazirmatn): | ||
|
||
```html | ||
|
||
<link type="text/css" rel="stylesheet" href="http://4xmen.ir/cdn/VazirCodeX.css"/> | ||
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/gh/rastikerdar/[email protected]/Vazirmatn-font-face.css"/> | ||
``` | ||
|
||
Add css and jquery plugin: | ||
Add css and jquery plugin To end of your project: | ||
|
||
```html | ||
|
||
<script type="text/javascript" src="node_modules/mpdatepicker/dist/jquery.mpdatepicker.min.js"></script> | ||
<link type="text/css" rel="stylesheet" href="node_modules/mpdatepicker/dist/jquery.mpdatepicker.min.css"/> | ||
``` | ||
|
||
|
||
Add Html : | ||
|
||
```Html | ||
<input class="sample-date-picker bg-white w-100 p-3" | ||
placeholder="تاریخ" type="text" id="date"> | ||
``` | ||
|
||
|
||
use plugin : | ||
|
||
```javascript | ||
|
@@ -57,7 +70,7 @@ $(function () { | |
}, | ||
}); | ||
}); | ||
``` | ||
``` | ||
|
||
## Options & events | ||
|
||
|