docs: function BoxSelector() {
  
          /**
           * ### BoxSelector.button
           *
           * The button that if pressed shows the items
           *
           * @see BoxSelector.ul
           */
          this.button = null;
  
          /**
           * ### BoxSelector.buttonText
           *
           * The text on the button
           *
           * @see BoxSelector.button
           */
          this.buttonText = '';
  
          /**
           * ### BoxSelector.items
           *
           * List of items to choose from
           */
          this.items = [];
  
          /**
           * ### BoxSelector.onclick
           *
           * A callback to call when an item from the list is clicked
           *
           * Callback is executed with the BoxSelector instance as context.
           *
           * Optional. If not specified, items won't be clickable.
           *
           * @see BoxSelector.items
           */
          this.onclick = null;
  
          /**
           * ### BoxSelector.getDescr
           *
           * A callback that renders an element into a text
           */
          this.getDescr = null;
  
          /**
           * ### BoxSelector.getId
           *
           * A callback that returns the id of an item
           *
           * Default: returns item.id.
           */
          this.getId = function(item) { return item.id; };
  
          /**
           * ### BoxSelector.ul
           *
           * The HTML UL element displaying the list of items
           *
           * @see BoxSelector.items
           */
          this.ul = null;
      }