templates/zebra/src/js/app.core.js
function filterSidebarNodes(strSearch) {
        if (!templateOpts.sidebar.enabled) return;

        strSearch = (strSearch || '').trim().toLowerCase();
        if (!strSearch) {
            cleanFilter();
            return;
        }
        if ($btnClean) $btnClean.show();

        // expand all sub-trees, so any found item is visible
        toggleAllSubTrees(false);
        $('.chevron').hide();
        // set unfold state
        setFoldState(false);

        isFilterActive = true;

        // We set outline to "flat" bec. if outline is "tree", and some symbol
        // parent does not match the search/filter, the indents and tree lines
        // look weird.
        setSidebarNodesOutline('flat');

        debounceApplySearch(strSearch);

        $('.toolbar-buttons > span').css('color', '#3f4450'); // '#7b8395'
    }
function filterSidebarNodes(strSearch) {
        if (!templateOpts.sidebar.enabled) return;

        strSearch = (strSearch || '').trim().toLowerCase();
        if (!strSearch) {
            cleanFilter();
            return;
        }
        if ($btnClean) $btnClean.show();

        // expand all sub-trees, so any found item is visible
        toggleAllSubTrees(false);
        $('.chevron').hide();
        // set unfold state
        setFoldState(false);

        isFilterActive = true;

        // We set outline to "flat" bec. if outline is "tree", and some symbol
        // parent does not match the search/filter, the indents and tree lines
        // look weird.
        setSidebarNodesOutline('flat');

        debounceApplySearch(strSearch);

        $('.toolbar-buttons > span').css('color', '#3f4450'); // '#7b8395'
    }
function filterSidebarNodes ( strSearch ) { if ( ! templateOpts . sidebar . enabled ) return ; strSearch = ( strSearch || '' ) . trim ( ) . toLowerCase ( ) ; if ( ! strSearch ) { cleanFilter ( ) ; return ; } if ( $btnClean ) $btnClean . show ( ) ; // expand all sub-trees, so any found item is visible toggleAllSubTrees ( false ) ; $ ( '.chevron' ) . hide ( ) ; // set unfold state setFoldState ( false ) ; isFilterActive = true ; // We set outline to "flat" bec. if outline is "tree", and some symbol // parent does not match the search/filter, the indents and tree lines // look weird. setSidebarNodesOutline ( 'flat' ) ; debounceApplySearch ( strSearch ) ; $ ( '.toolbar-buttons > span' ) . css ( 'color' , '#3f4450' ) ; // '#7b8395' }
Filters the symbol nodes in the API sidebar by the given search string.

Prefix `kind:` will filter by symbol kind rather than searching for the
given text. e.g. `kind:method` or `kind:method,class`.

Additionally, prefix `scope:` will filter by symbol scope rather than
searching for the given text. e.g. `scope:inner` or `scope:static,inner`.
@private

@param {*} strSearch - String to be searched for.
Filters the symbol nodes in the API sidebar by the given search string .