SwarmOnline/Ext.ux.TouchCalendar — Issue #2: Documentation needs updating
Author: mchambaud
Created: 2011-12-21 21:16:02+00:00
State: open

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