Skip to content

Commit b1a8929

Browse files
committed
Add Modal Mode
1 parent 912b24d commit b1a8929

11 files changed

Lines changed: 261 additions & 214 deletions

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#### Bootstrap 4+ Persian And Gregorian Date Time Picker jQuery 3+ Plugin
33

44
![MD.BootstrapPersianDateTimePicker](https://raw.githubusercontent.com/Mds92/MD.BootstrapPersianDateTimePicker/master-bs4/src/MdPersianDateTimePicker.jpg)
5+
![MD.BootstrapPersianDateTimePicker](https://raw.githubusercontent.com/Mds92/MD.BootstrapPersianDateTimePicker/master-bs4/src/MdPersianDateTimePickerModalMode.jpg)
56

67
`MD.BootstrapPersianDateTimePicker` uses bootstrap [Popovers](https://getbootstrap.com/docs/4.5/components/popovers/), so it has flexibility of bootstrap's popover.
78
<hr>
@@ -51,6 +52,7 @@ Name | Values | Description | Sample
5152
**dateFormat** | String | format of selected date to save into `targetDateSelector` | 'yyyy/MM/dd HH:mm:ss'
5253
**isGregorian** | [false], true | Is calendar Gregorian
5354
**inLine** | [false], true | Is date time picker in line
55+
**modalMode** | [false], true | Open in modal mode, suitable for smart phones
5456
**selectedDate** | [undefined], new Date() | Selected date as JavaScript Date object | new Date('2018/9/30')
5557
**monthsToShow** | Numeric array with 2 items, [0 ,0] | To show, number of month before and after selected date in date time picker, first item is for before month, second item is for after month | [1, 1]
5658
**yearOffset** | Number | Number of years to select in year selector | 30

0 commit comments

Comments
 (0)