# TreeSelectExpandOn (@salmonui/dropdowns/tree-select)

> The TreeSelectExpandOn type of @salmonui/dropdowns/tree-select: 'auto': a click on a non-selectable parent toggles it; 'click': a click on any parent toggles it (Enter or Space selects); 'doubleClick': double-click toggles; 'none': only the twisty and the arrow keys.

Canonical: https://salmonui.dev/docs/reference/dropdowns/tree-select/TreeSelectExpandOn

```ts
import type { TreeSelectExpandOn } from '@salmonui/dropdowns/tree-select';
```

Entry index: https://salmonui.dev/docs/reference/dropdowns/tree-select (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/dropdowns/tree-select.md).

## Reference

Kind: type

```ts
type TreeSelectExpandOn = 'auto' | 'click' | 'doubleClick' | 'none';
```

`'auto'`: a click on a non-selectable parent toggles it; `'click'`: a click on any parent toggles it (Enter or Space selects); `'doubleClick'`: double-click toggles; `'none'`: only the twisty and the arrow keys.
