jtsage/jquery-mobile-datebox — pull request #94 by vaab (2011-10-10 16:05:22+00:00)
Title: Add a init-time event to allow for configuring options as jquery mobile does.

This is a simple event that is triggered when datebox finished to init.

This permits configuration à la jquery. (cf: http://jquerymobile.com/test/docs/api/globalconfig.html)

Sample config code:

$(document).bind("dateboxinit", function(){
$.extend($.mobile.datebox.prototype.options, {
'dateFormat': 'YYYY-mm-dd',
'headerFormat': 'YYYY-mm-dd',
'noButtonFocusMode': true
});
});