You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| start | Start moment.js datetime object or a datetime string | none | yes |
55
54
| end | End moment.js datetime object or a datetime string | none | yes |
55
+
| presets | Array of preset ranges, click <ahref="https://github.com/g1eb/angular-datetime-range#presets"target="_blank">here</a> for more info | none | no |
56
56
| on-change | Handler function that is fired on change of start and/or end datetime objects | none | no |
57
57
| on-change-start | Handler function that is fired on change of start datetime object | none | no |
58
58
| on-change-end | Handler function that is fired on change of end datetime object | none | no |
59
59
| on-close | Handler function that is fired on close of the edit popover | none | no |
60
60
61
+
## Presets
62
+
63
+
You can provide any number of preset ranges for quick selection in edit view.
64
+
65
+
Consider the following example with ranges of current week, month and year.
0 commit comments