code: function (options) {
              if (isObject(options)) {
                  options = extend({ actions: ['drag', 'resize']}, options);
              }
              else if (isBool(options)) {
                  options = { actions: ['drag', 'resize'], enabled: options };
              }
  
              return this.setOptions('autoScroll', options);
          }
docs: /*\
  Interactable.autoScroll
  [ method ]
  *
  Deprecated. Add an `autoscroll` property to the options object
  passed to @Interactable.draggable or @Interactable.resizable instead.
  
  Returns or sets whether dragging and resizing near the edges of the
  window/container trigger autoScroll for this Interactable
  
  = (object) Object with autoScroll properties
  
  or
  
  - options (object | boolean) #optional
  options can be:
  - an object with margin, distance and interval properties,
  - true or false to enable or disable autoScroll or
  = (Interactable) this Interactable
  \