code: function (element, options) {
      this.$element = $(element)
      this.options  = $.extend({}, OffCanvas.DEFAULTS, options)
      this.state    = null
      this.placement = null
      
      if (this.options.recalc) {
        this.calcClone()
        $(window).on('resize', $.proxy(this.recalc, this))
      }
      
      if (this.options.autohide)
        $(document).on('click', $.proxy(this.autohide, this))
  
      if (this.options.toggle) this.toggle()
      
      if (this.options.disablescrolling) {
          this.options.disableScrolling = this.options.disablescrolling
          delete this.options.disablescrolling
      }
    }
docs: OFFCANVAS PUBLIC CLASS DEFINITION =================================