View as Markdown

API reference: @salmonui/dropdowns/tree-select

TreeSelectExpandOntype

import type { TreeSelectExpandOn } from '@salmonui/dropdowns/tree-select';
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.