trilium
    Preparing search index...

    Define filter-extension options

    interface Filter {
        autoApply?: boolean;
        autoExpand?: boolean;
        counter?: boolean;
        fuzzy?: boolean;
        hideExpandedCounter?: boolean;
        hideExpanders?: boolean;
        highlight?: boolean;
        leavesOnly?: boolean;
        mode?: "hide" | "dimm";
        nodata?: boolean;
        [key: string]: any;
    }

    Indexable

    • [key: string]: any

      Support misc options

    Index

    Properties

    autoApply?: boolean

    Re-apply last filter if lazy data is loaded

    autoExpand?: boolean

    Expand all branches that contain matches while filtered

    counter?: boolean

    Show a badge with number of matching child nodes near parent icons

    fuzzy?: boolean

    Match single characters in order, e.g. 'fb' will match 'FooBar'

    hideExpandedCounter?: boolean

    Hide counter badge if parent is expanded

    hideExpanders?: boolean

    Hide expanders if all child nodes are hidden by filter

    highlight?: boolean

    Highlight matches by wrapping inside tags

    leavesOnly?: boolean

    Match end nodes only

    mode?: "hide" | "dimm"

    Grayout unmatched nodes (pass "hide" to remove unmatched node instead); default 'dimm'

    nodata?: boolean

    Display a 'no data' status node if result is empty