Skip to content

Home > @liquidrazor/list-display > createSelectionState

createSelectionState() function

Initializes a selection state.

Signature:

typescript
createSelectionState: (mode?: SelectionMode) => SelectionState

Parameters

Parameter

Type

Description

mode

SelectionMode

(Optional)

Returns:

SelectionState