src/filter-dropdown.js
function (e) {
    var self = this;

    clearTimeout(self.closeTimeout);
    clearTimeout(self.deferCloseTimeout);

    if (e) {
      if (e.stopPropagation) {
        e.stopPropagation();
      }
      if (e.preventDefault) {
        e.preventDefault();
      }
      e.cancelBubble = true;
    }

    // Don't do anything if already open
    if (self.isOpen) {
      return;
    }

    self.isOpen = true;
    self.$el.addClass("open");

    // Notify child view
    self.dropdownContainerView.open();
  }
function (e) {
    var self = this;

    clearTimeout(self.closeTimeout);
    clearTimeout(self.deferCloseTimeout);

    if (e) {
      if (e.stopPropagation) {
        e.stopPropagation();
      }
      if (e.preventDefault) {
        e.preventDefault();
      }
      e.cancelBubble = true;
    }

    // Don't do anything if already open
    if (self.isOpen) {
      return;
    }

    self.isOpen = true;
    self.$el.addClass("open");

    // Notify child view
    self.dropdownContainerView.open();
  }
function ( e ) { var self = this ; clearTimeout ( self . closeTimeout ) ; clearTimeout ( self . deferCloseTimeout ) ; if ( e ) { if ( e . stopPropagation ) { e . stopPropagation ( ) ; } if ( e . preventDefault ) { e . preventDefault ( ) ; } e . cancelBubble = true ; } // Don't do anything if already open if ( self . isOpen ) { return ; } self . isOpen = true ; self . $el . addClass ( "open" ) ; // Notify child view self . dropdownContainerView . open ( ) ; }
Open the dropdown

@method open
@param {object} [e]
Open the dropdown