code: function () {
      var self = this;
  
      self.$el.addClass("open");
  
      // Get button
      var $button = self.parentView.$dropdownButton;
  
      // Align
      var align;
      if (self.options.align === "auto") {
        // Determine what alignment fits
        var viewPortWidth = document.body.clientWidth || document.body.clientWidth;
        align = (($button.offset().left + self.$el.outerWidth()) > viewPortWidth) ? "left" : "right";
      }
      else {
        align = (self.options.align === "left" || self.options.align === "right") ?
          (self.options.align === "right" ? "right" : "left") : "right";
      }
  
      var offset;
      if (align === "left") {
        // Align right by default
        offset = $button.offset().left + $button.outerWidth() - self.$el.outerWidth();
        self.$el.css("left", offset + "px");
      }
      else {
        offset = $button.offset().left;
        self.$el.css("left", offset + "px");
      }
  
      // Height position
      var offsetHeight = $button.offset().top + $button.outerHeight();
      self.$el.css("top", offsetHeight + "px");
    }
docs: Opens the dropdown.
  
  @method open