public/javascripts/yui/container/container.js
function (type, args, obj) {
            var val = args[0];

            if (val) {
                if (!Util.DD) {
                    this.cfg.setProperty("draggable", false);
                    return;
                }

                if (this.header) {
                    Dom.setStyle(this.header, "cursor", "move");
                    this.registerDragDrop();
                }

                this.subscribe("beforeShow", setWidthToOffsetWidth);

            } else {

                if (this.dd) {
                    this.dd.unreg();
                }

                if (this.header) {
                    Dom.setStyle(this.header,"cursor","auto");
                }

                this.unsubscribe("beforeShow", setWidthToOffsetWidth);
            }
        }
function (type, args, obj) {
            var val = args[0];

            if (val) {
                if (!Util.DD) {
                    this.cfg.setProperty("draggable", false);
                    return;
                }

                if (this.header) {
                    Dom.setStyle(this.header, "cursor", "move");
                    this.registerDragDrop();
                }

                this.subscribe("beforeShow", setWidthToOffsetWidth);

            } else {

                if (this.dd) {
                    this.dd.unreg();
                }

                if (this.header) {
                    Dom.setStyle(this.header,"cursor","auto");
                }

                this.unsubscribe("beforeShow", setWidthToOffsetWidth);
            }
        }
function ( type , args , obj ) { var val = args [ 0 ] ; if ( val ) { if ( ! Util . DD ) { this . cfg . setProperty ( "draggable" , false ) ; return ; } if ( this . header ) { Dom . setStyle ( this . header , "cursor" , "move" ) ; this . registerDragDrop ( ) ; } this . subscribe ( "beforeShow" , setWidthToOffsetWidth ) ; } else { if ( this . dd ) { this . dd . unreg ( ) ; } if ( this . header ) { Dom . setStyle ( this . header , "cursor" , "auto" ) ; } this . unsubscribe ( "beforeShow" , setWidthToOffsetWidth ) ; } }
The default event handler fired when the "draggable" property
is changed.
@method configDraggable
@param {String} type The CustomEvent type (usually the property name)
@param {Object[]} args The CustomEvent arguments. For configuration
handlers, args[0] will equal the newly applied value for the property.
@param {Object} obj The scope object. For configuration handlers,
this will usually equal the owner.
The default event handler fired when the draggable property is changed .