onSelectionChange Documentation needs update
Closed this issue · 0 comments
mchambaud commented
Ext.ux.TouchCalendarView.js
line 259
/**
- Handler for the selectionchange event which sets the internal value to the selected one.
- @method
- @Private
- @param {Object} selectionModel
- @param {Object} records
*/
onSelectionChange: function(selectionModel, records){
if(records.length > 0){
this.setValue(records[0].get('date'));
}
}
DOCS
selectionchange( Ext.ux.Calendar this, Date previousValue, Date newValue )
Fires when the Calendar's selected date is changed
Parameters
this : Ext.ux.Calendar
previousValue : Date
Previously selected date
newValue : Date
Newly selected date