sustainablepace/mobipick — Issue #1: add public setOption method
Author: h-code
Created: 2011-12-15 14:18:37+00:00
State: open

Hi
I love it ! I will use it also on Ipad / Iphone. Thanks for sharing

I add a setOption public method in order to change dynamically minDate / maxDate and date parameters.

setOption: function( key, value ) {
switch( key ) {
case "date":
case "minDate":
case "maxDate":
this._setOption(key, new XDate( value));
break;

default:
}
},