public/javascripts/yui/calendar/calendar.js
function(type, args, obj) {
        var val = args[0];
        if (YAHOO.widget.CalendarNavigator && (val === true || Lang.isObject(val))) {
            if (!this.oNavigator) {
                this.oNavigator = new YAHOO.widget.CalendarNavigator(this);
                // Cleanup DOM Refs/Events before innerHTML is removed.
                this.beforeRenderEvent.subscribe(function () {
                    if (!this.pages) {
                        this.oNavigator.erase();
                    }
                }, this, true);
            }
        } else {
            if (this.oNavigator) {
                this.oNavigator.destroy();
                this.oNavigator = null;
            }
        }
    }
function(type, args, obj) {
        var val = args[0];
        if (YAHOO.widget.CalendarNavigator && (val === true || Lang.isObject(val))) {
            if (!this.oNavigator) {
                this.oNavigator = new YAHOO.widget.CalendarNavigator(this);
                // Cleanup DOM Refs/Events before innerHTML is removed.
                this.beforeRenderEvent.subscribe(function () {
                    if (!this.pages) {
                        this.oNavigator.erase();
                    }
                }, this, true);
            }
        } else {
            if (this.oNavigator) {
                this.oNavigator.destroy();
                this.oNavigator = null;
            }
        }
    }
function ( type , args , obj ) { var val = args [ 0 ] ; if ( YAHOO . widget . CalendarNavigator && ( val === true || Lang . isObject ( val ) ) ) { if ( ! this . oNavigator ) { this . oNavigator = new YAHOO . widget . CalendarNavigator ( this ) ; // Cleanup DOM Refs/Events before innerHTML is removed. this . beforeRenderEvent . subscribe ( function ( ) { if ( ! this . pages ) { this . oNavigator . erase ( ) ; } } , this , true ) ; } } else { if ( this . oNavigator ) { this . oNavigator . destroy ( ) ; this . oNavigator = null ; } } }
The default handler for the "navigator" property
@method configNavigator
The default handler for the navigator property