function applySearch(strSearch) {
        sbSearch.parse(strSearch);
        setFilterBtnStates();
        $sidebarNodes.each(function () {
            var node = $(this);
            var show = true;
            if (sbSearch.scope.length > 0) {
                show = sbSearch.hasScope(node.attr('data-scope'));
            }
            if (show && sbSearch.kind.length > 0) {
                show = sbSearch.hasKind(node.attr('data-kind'));
            }
            if (show && sbSearch.keywords.length > 0) {
                // get the data keywords to be searched from each node's target
                // attribute.
                show = sbSearch.matchesAnyKeyword(node.attr('data-keywords'));
            }
            if (show) {
                node.removeClass('hidden');
            } else {
                node.addClass('hidden');
            }
        });
    }
function applySearch(strSearch) {
        sbSearch.parse(strSearch);
        setFilterBtnStates();
        $sidebarNodes.each(function () {
            var node = $(this);
            var show = true;
            if (sbSearch.scope.length > 0) {
                show = sbSearch.hasScope(node.attr('data-scope'));
            }
            if (show && sbSearch.kind.length > 0) {
                show = sbSearch.hasKind(node.attr('data-kind'));
            }
            if (show && sbSearch.keywords.length > 0) {
                
                
                show = sbSearch.matchesAnyKeyword(node.attr('data-keywords'));
            }
            if (show) {
                node.removeClass('hidden');
            } else {
                node.addClass('hidden');
            }
        });
    }
function applySearch ( strSearch ) { sbSearch . parse ( strSearch ) ; setFilterBtnStates ( ) ; $sidebarNodes . each ( function ( ) { var node = $ ( this ) ; var show = true ; if ( sbSearch . scope . length > 0 ) { show = sbSearch . hasScope ( node . attr ( 'data-scope' ) ) ; } if ( show && sbSearch . kind . length > 0 ) { show = sbSearch . hasKind ( node . attr ( 'data-kind' ) ) ; } if ( show && sbSearch . keywords . length > 0 ) { // get the data keywords to be searched from each node's target // attribute. show = sbSearch . matchesAnyKeyword ( node . attr ( 'data-keywords' ) ) ; } if ( show ) { node . removeClass ( 'hidden' ) ; } else { node . addClass ( 'hidden' ) ; } } ) ; }
Applies the search filter by showing/hiding corresponding nodes in the
sidebar.
@private
@param {String} strSearch - String to search.
Applies the search filter by showing / hiding corresponding nodes in the sidebar .