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

    // Get current filter
    var currentFilter = self.filterStateModel.getActiveFilter();
    if (currentFilter !== self.filter) {
      self.filterStateModel.setActiveFilter(self.filter);
      self.filterStateModel.trigger("filter:loaded");
    }
  }
function (e) {
    var self = this;
    if (e) {
      self.stopPropagation(e);
    }

    // Get current filter
    var currentFilter = self.filterStateModel.getActiveFilter();
    if (currentFilter !== self.filter) {
      self.filterStateModel.setActiveFilter(self.filter);
      self.filterStateModel.trigger("filter:loaded");
    }
  }
function ( e ) { var self = this ; if ( e ) { self . stopPropagation ( e ) ; } // Get current filter var currentFilter = self . filterStateModel . getActiveFilter ( ) ; if ( currentFilter !== self . filter ) { self . filterStateModel . setActiveFilter ( self . filter ) ; self . filterStateModel . trigger ( "filter:loaded" ) ; } }
Activates current filer

@method setActiveFilter
@param {object} e
Activates current filer