mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
Mssing datepticker orientation options: (#24827)
https://bootstrap-datepicker.readthedocs.io/en/stable/options.html#orientation taken from author's online demo: https://uxsolutions.github.io/bootstrap-datepicker/
This commit is contained in:
committed by
Mohamed Hegazy
parent
c63b81da94
commit
467b78e8b1
15
types/bootstrap-datepicker/index.d.ts
vendored
15
types/bootstrap-datepicker/index.d.ts
vendored
@@ -10,7 +10,20 @@ type DatepickerEvents = "show"|"hide"|"clearDate"|"changeDate"|"changeMonth"|"ch
|
||||
|
||||
type DatepickerViewModes = 0|"days"|1|"months"|2|"years"|3|"decades"|4|"centuries"|"millenium";
|
||||
|
||||
type DatepickerOrientations = "auto"|"left top"|"left bottom"|"right top"|"right bottom";
|
||||
type DatepickerOrientations =
|
||||
"auto"
|
||||
| "left top"
|
||||
| "left bottom"
|
||||
| "right top"
|
||||
| "right bottom"
|
||||
| "top auto"
|
||||
| "bottom auto"
|
||||
| "auto left"
|
||||
| "top left"
|
||||
| "bottom left"
|
||||
| "auto right"
|
||||
| "top right"
|
||||
| "bottom right"
|
||||
|
||||
/**
|
||||
* All options that take a “Date” can handle a Date object; a String
|
||||
|
||||
Reference in New Issue
Block a user