Databases Reference
In-Depth Information
datePickerAttrs: {
autoSize: true,
buttonImage: '', //Set by plugin attribute
buttonImageOnly: true,
changeMonth: true,
changeYear: true,
dateFormat: 'mm/dd/yy', //Default date format. Will be set by plugin
showAnim: '', //By default disable animation
showOn: 'button'},
datePickerType: '', //from or to
},
/**
* Init function. This function will be called each time the widget is referenced with no
parameters
*/
_init: function(){
var uiw = this;
//For this plug-in there's no code required for this section
//Left here for demonstration purposes
$.console.log(uiw._scope, '_init', uiw);
}, //_init
/**
* Set private widget variables
*/
_setWidgetVars: function(){
var uiw = this;
uiw._scope = 'ui.clarifitFromToDatePicker'; //For debugging
uiw._values = {
shortYearCutoff: 30, //roll over year
};
uiw._elements = {
$otherDate: null
};
}, //_setWidgetVars
/**
* Create function: Called the first time widget is associated to the object
* Does all the required setup, etc. and binds change event
*/
_create: function(){
var uiw = this;
uiw._setWidgetVars();
var consoleGroupName = uiw._scope + '_create';
Search WWH ::




Custom Search