src/aria/widgets/calendar/RangeCalendar.js
function (propertyName, newValue, oldValue) {
            this._inOnBoundPropertyChange = true;
            try {
                if (propertyName == "startDate") {
                    this._subTplModuleCtrl.navigate({}, {
                        date : newValue
                    });
                } else if (propertyName == "fromDate" || propertyName == "toDate" || propertyName == "ranges") {
                    this._subTplModuleCtrl.setRanges(this._getRanges());
                }
            } finally {
                this._inOnBoundPropertyChange = false;
            }
        }
function (propertyName, newValue, oldValue) {
            this._inOnBoundPropertyChange = true;
            try {
                if (propertyName == "startDate") {
                    this._subTplModuleCtrl.navigate({}, {
                        date : newValue
                    });
                } else if (propertyName == "fromDate" || propertyName == "toDate" || propertyName == "ranges") {
                    this._subTplModuleCtrl.setRanges(this._getRanges());
                }
            } finally {
                this._inOnBoundPropertyChange = false;
            }
        }
function ( propertyName , newValue , oldValue ) { this . _inOnBoundPropertyChange = true ; try { if ( propertyName == "startDate" ) { this . _subTplModuleCtrl . navigate ( { } , { date : newValue } ) ; } else if ( propertyName == "fromDate" || propertyName == "toDate" || propertyName == "ranges" ) { this . _subTplModuleCtrl . setRanges ( this . _getRanges ( ) ) ; } } finally { this . _inOnBoundPropertyChange = false ; } }
Internal method called when one of the model property that the widget is bound to has changed.
@protected
@param {String} propertyName the property name
@param {Object} newValue the new value. If transformation is used, refers to widget value and not data model
value.
@param {Object} oldValue the old property value. If transformation is used, refers to widget value and not
data model value.
Internal method called when one of the model property that the widget is bound to has changed .