code: function (e) {
      var self = this;
      if (self.isOpen !== true) {
        self.open(e);
      }
      else {
        self.close(e);
      }
    }
docs: Toggle the dropdown visibility
  
  @method toggle
  @param {object} [e]