bevacqua / rome

:calendar: Customizable date (and time) picker. Opt-in UI, no jQuery!
https://bevacqua.github.io/rome
MIT License
2.91k stars 223 forks source link

when the calender has been selected,iit will be perfect if provide a callback to do something. #178

Open kateier opened 7 years ago

kateier commented 7 years ago

why not provide the Lifecycle hook? just like , instance=rome(dom,{}); instance.init(function(){}) instance.initDone(function(){}) instance.select(function(){}) instance.selected(function(){})