function _filterResults() {
    _optionsDom.classList.add( 'filtered' );
    var _optionsItemDom;

    if ( _filteredData.length > 0 ) {
      _filteredData.forEach( function( option ) {
        _optionsItemDom =
          _optionsDom.querySelector( '[data-option="' + option.value + '"]' );

        _optionsItemDom.classList.add( 'filter-match' );
      } );
    } else {
      _noResults();
    }
  }
/**
   * Filters the list of options based on the results of the evaluate function.
   */
Filters the list of options based on the results of the evaluate function.
Filters the list of options based on the results of the evaluate function .
function _filterResults() {
    _optionsDom.classList.add( 'filtered' );
    var _optionsItemDom;
    if ( _filteredData.length > 0 ) {
      _filteredData.forEach( function( option ) {
        _optionsItemDom =
          _optionsDom.querySelector( '[data-option="' + option.value + '"]' );
        _optionsItemDom.classList.add( 'filter-match' );
      } );
    } else {
      _noResults();
    }
  }
function _filterResults ( ) { _optionsDom . classList . add ( 'filtered' ) ; var _optionsItemDom ; if ( _filteredData . length > 0 ) { _filteredData . forEach ( function ( option ) { _optionsItemDom = _optionsDom . querySelector ( '[data-option="' + option . value + '"]' ) ; _optionsItemDom . classList . add ( 'filter-match' ) ; } ) ; } else { _noResults ( ) ; } }
Filters the list of options based on the results of the evaluate function.
Filters the list of options based on the results of the evaluate function .