# Interface Filter

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

- Defined in src/public/app/types-fancytree.d.ts:994

##### Index

### Properties

autoApply?
autoExpand?
counter?
fuzzy?
hideExpandedCounter?
hideExpanders?
highlight?
leavesOnly?
mode?
nodata?

## Properties

### `Optional` autoApply

autoApply?: boolean

Re-apply last filter if lazy data is loaded

- Defined in src/public/app/types-fancytree.d.ts:998

### `Optional` autoExpand

autoExpand?: boolean

Expand all branches that contain matches while filtered

- Defined in src/public/app/types-fancytree.d.ts:1002

### `Optional` counter

counter?: boolean

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

- Defined in src/public/app/types-fancytree.d.ts:1006

### `Optional` fuzzy

fuzzy?: boolean

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

- Defined in src/public/app/types-fancytree.d.ts:1010

### `Optional` hideExpandedCounter

hideExpandedCounter?: boolean

Hide counter badge if parent is expanded

- Defined in src/public/app/types-fancytree.d.ts:1014

### `Optional` hideExpanders

hideExpanders?: boolean

Hide expanders if all child nodes are hidden by filter

- Defined in src/public/app/types-fancytree.d.ts:1018

### `Optional` highlight

highlight?: boolean

Highlight matches by wrapping inside tags

- Defined in src/public/app/types-fancytree.d.ts:1022

### `Optional` leavesOnly

leavesOnly?: boolean

Match end nodes only

- Defined in src/public/app/types-fancytree.d.ts:1026

### `Optional` mode

mode?: "hide" | "dimm"

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

- Defined in src/public/app/types-fancytree.d.ts:1034

### `Optional` nodata

nodata?: boolean

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

- Defined in src/public/app/types-fancytree.d.ts:1030