Enable or disable the dragger given the `isDraggable` flag
@param   {Boolean} isDraggable Whether or not the layout is draggable
@returns {void}
@private
499783
function updateDragger(isDraggable) {
        if (isDraggable) {
            if (!dragger) {
                $el.addClass(CSS_CLASS_DRAGGABLE);
                dragger = scope.createComponent('dragger');
                dragger.init(config.$viewport);
            }
        } else {
            if (dragger) {
                $el.removeClass(CSS_CLASS_DRAGGABLE);
                scope.destroyComponent(dragger);
                dragger = null;
            }
        }
    }
852172
@Override
  public void setDraggable(Element elem, String draggable) {
    super.setDraggable(elem, draggable);
    if ("true".equals(draggable)) {
      elem.getStyle().setProperty("webkitUserDrag", "element");
    } else {
      elem.getStyle().clearProperty("webkitUserDrag");
    }
  }
466108
function () {
        var self = this;

        var toggleDragClass = function (e) {
          e.preventDefault();
          self.classes.toggle('dragenter');
          self.getEl().className = self.classes;
        };

        var filter = function (files) {
          var accept = self.settings.accept;
          if (typeof accept !== 'string') {
            return files;
          }

          var re = new RegExp('(' + accept.split(/\s*,\s*/).join('|') + ')$', 'i');
          return Tools.grep(files, function (file) {
            return re.test(file.name);
          });
        };

        self._super();

        self.$el.on('dragover', function (e) {
          e.preventDefault();
        });

        self.$el.on('dragenter', toggleDragClass);
        self.$el.on('dragleave', toggleDragClass);

        self.$el.on('drop', function (e) {
          e.preventDefault();

          if (self.state.get('disabled')) {
            return;
          }

          var files = filter(e.dataTransfer.files);

          self.value = function () {
            if (!files.length) {
              return null;
            } else if (self.settings.multiple) {
              return files;
            } else {
              return files[0];
            }
          };

          if (files.length) {
            self.fire('change', e);
          }
        });
      }
925312
private void recoverDraggablePanelState(Bundle savedInstanceState) {
    final DraggableState draggableState =
        (DraggableState) savedInstanceState.getSerializable(DRAGGABLE_PANEL_STATE);
    if (draggableState == null) {
      draggablePanel.setVisibility(View.GONE);
      return;
    }
    updateDraggablePanelStateDelayed(draggableState);
  }
151859
function(e, isDown) {
	    _preventObj.prevent = !_closestElement(e.target, _options.isClickableElement);

		_shout('preventDragEvent', e, isDown, _preventObj);
		return _preventObj.prevent;

	}
1309698
function(){
                // check for related events
                if ( $.data( this, drag.datakey ) )
                    return;
                // initialize the drag data with copied defaults
                var data = $.extend({ related:0 }, drag.defaults );
                // store the interaction data
                $.data( this, drag.datakey, data );
                // bind the mousedown event, which starts drag interactions
                $event.add( this, "touchstart mousedown", drag.init, data );
                // prevent image dragging in IE...
                if ( this.attachEvent )
                    this.attachEvent("ondragstart", drag.dontstart );
            }
341201
private void triggerOnReleaseActionsWhileVerticalDrag(float yVel) {
    if (yVel < 0 && yVel <= -Y_MIN_VELOCITY) {
      draggableView.maximize();
    } else if (yVel > 0 && yVel >= Y_MIN_VELOCITY) {
      draggableView.minimize();
    } else {
      if (draggableView.isDragViewAboveTheMiddle()) {
        draggableView.maximize();
      } else {
        draggableView.minimize();
      }
    }
  }
1270223
def draggable(self, value: Union[bool, str]) -> None:
        
        if value is False:
            self.removeAttribute('draggable')
        else:
            self.setAttribute('draggable', value)
296841
function(e) {
      var _this = this, content, buttons;

      if (Math.abs(e.gesture.deltaY) > 5) {
        this._didDragUpOrDown = true;
      }

      // If we get a drag event, make sure we aren't in another drag, then check if we should
      // start one
      if (!this.isDragging && !this._dragOp) {
        this._startDrag(e);
      }

      // No drag still, pass it up
      if (!this._dragOp) {
        //ionic.views.ListView.__super__._handleDrag.call(this, e);
        return;
      }

      e.gesture.srcEvent.preventDefault();
      this._dragOp.drag(e);
    }
1122079
function( isDockable ) {
		if ( this.dockButton && this.parent._header && this.parent._header.dock ) {
			this.dockButton.element.toggle( !!isDockable );
			return true;
		}
		return false;
	}
1143158
function isEnabled (obj) {
  var enabled = false
  if (obj.isEnumType) {
    enabled = !this.theme.enums.hide
  } else if (obj.isInputType) {
    enabled = !this.theme.inputs.hide
  } else if (obj.isInterfaceType) {
    enabled = !this.theme.interfaces.hide
  } else if (obj.isUnionType) {
    enabled = !this.theme.unions.hide
  } else {
    enabled = true
  }
  return enabled
}
500215
function makeDraggable() {
    self.$getContainer().dragscrollable({
      dragSelector : "#drawing-area, canvas.line-canvas",
      acceptPropagatedEvent : false,
      delegateMode : true,
      preventDefault : true
    });
  }
1355856
def draggable(self) -> Union[bool, str]:
        """"""
        if not self.hasAttribute('draggable'):
            return False
        return self.getAttribute('draggable')
78988
private void saveDraggableState(Bundle outState) {
    DraggableState draggableState = null;
    if (draggablePanel.isMaximized()) {
      draggableState = DraggableState.MAXIMIZED;
    } else if (draggablePanel.isMinimized()) {
      draggableState = DraggableState.MINIMIZED;
    } else if (draggablePanel.isClosedAtLeft()) {
      draggableState = DraggableState.CLOSED_AT_LEFT;
    } else if (draggablePanel.isClosedAtRight()) {
      draggableState = DraggableState.CLOSED_AT_RIGHT;
    }
    outState.putSerializable(DRAGGABLE_PANEL_STATE, draggableState);
  }
1225688
private void triggerOnReleaseActionsWhileHorizontalDrag(float xVel) {
    if (xVel < 0 && xVel <= -X_MIN_VELOCITY) {
      draggableView.closeToLeft();
    } else if (xVel > 0 && xVel >= X_MIN_VELOCITY) {
      draggableView.closeToRight();
    } else {
      if (draggableView.isNextToLeftBound()) {
        draggableView.closeToLeft();
      } else if (draggableView.isNextToRightBound()) {
        draggableView.closeToRight();
      } else {
        draggableView.minimize();
      }
    }
  }
809468
function () {
            var thumbs = [this._firstSlider, this._secondSlider];
            for (var i = 0, len = thumbs.length; i < len; i++) {
                this._draggable[i] = new ariaUtilsDragdropDrag(thumbs[i], {
                    handle : thumbs[i],
                    proxy : null,
                    axis : "x",
                    constrainTo : this._domElt
                });
                this._draggable[i].$on({
                    "dragstart" : {
                        fn : this._onDragStart,
                        scope : this
                    },
                    "move" : {
                        fn : this._onDragMove,
                        scope : this
                    },
                    "dragend" : {
                        fn : this._onDragEnd,
                        scope : this
                    }
                });
            }
        }
1086467
function (e) {
                var element = e.target;
                var sortableElement = element.isSortable === true ? element : findSortable(element);
                element = findDragElement(sortableElement, element);
                if (!dragging || !_listsConnected(sortableElement, dragging.parentElement) || addData(sortableElement, '_disabled') === 'true') {
                    return;
                }
                var options = addData(sortableElement, 'opts');
                if (parseInt(options.maxItems) && _filter(sortableElement.children, addData(sortableElement, 'items')).length >= parseInt(options.maxItems) && dragging.parentElement !== sortableElement) {
                    return;
                }
                e.preventDefault();
                e.stopPropagation();
                e.dataTransfer.dropEffect = store(sortableElement).getConfig('copy') === true ? 'copy' : 'move';
                debouncedDragOverEnter(sortableElement, element, e.pageY);
            }