tamble / jquery-ui-daterangepicker

A JQuery UI based date range picker.
MIT License
184 stars 110 forks source link

No reference to widget in events like onOpen #59

Closed kennellink closed 8 years ago

kennellink commented 8 years ago

I want a reference to the specific daterangepicker (or its original element) when options.onOpen or options.onChange are fired. My handler has no way to know which picker called it. The "this" variable refers to the options object, but there's no way to get from there to the actual widget or element. Am I missing something?