docs: function() {
              this.$ul.html('');
  
              // Important to distinguish between radios and checkboxes.
              this.options.multiple = this.$select.attr('multiple') === "multiple";
  
              this.buildSelectAll();
              this.buildDropdownOptions();
              this.buildFilter();
  
              this.updateButtonText();
              this.updateSelectAll();
  
              if (this.options.dropRight) {
                  this.$ul.addClass('pull-right');
              }
          }