longbill / jquery-date-range-picker

A jQuery plugin that allows user to select a date range
MIT License
1.12k stars 579 forks source link

init event and ability to apply a class to wrapper #350

Closed mafar closed 7 years ago

mafar commented 7 years ago

I want to apply a specific class to date-picker-wrapper I am using container option.

  1. There is no initialize event so I as soon as it is init, I can apply class to date-picker-wrapper
  2. There is not api method to fetch date-picker-wrapper as using container, it can be anywhere and there could be multiple copies of it in that container.
  3. an option to apply date-picker-wrapper class would be very helpful
mafar commented 7 years ago

sorry. There is api..getDatePicker() for this purpose.

init event addition will be helpful as well.

holtkamp commented 7 years ago

@djangosdk thanks for the feedback, any Pull Request about a init event is welcome if you think this is useful!