Closed mrlg255 closed 3 years ago
Can you explain a bit further? Not sure I understand. It sounds like you want the ability to trigger toggleOverlay
in some manual fashion?
Yes, I'd like to be able ot trigger toggleOverlay
programmatically.
Another thing is that option to open overlay automatically after showing up datepicker would be nice addition - something like startView
option in bootstrap-datepicker: ref
Looking into this now...
How's this coming along? I too want to use this as a month-picker in some contexts
Sorry, just started looking into this again. I've got a toggleOverlay
method working on the picker instance now. Going to get started on the option to show the overlay when the calendar is opened.
Ok, this is now in the latest version - 5.18.0.
3 things added:
defaultView: 'overlay'
as an option.
Is it possible to trigger toggleOverlay on specified event (onShow etc)? Maybe adding option like "initialView": "dayPicker|monthPicker" would make it easier?