Skip to content

Home > @liquidrazor/list-display > selectAllVisible

selectAllVisible() function

Signature:

typescript
selectAllVisible: <TRow = AnyRow, TRowId extends RowId = RowId>(visibleRows: TRow[], selection: SelectionState<TRowId>, ctx: SelectionContext<TRow, TRowId>) => SelectionState<TRowId>

Parameters

Parameter

Type

Description

visibleRows

TRow[]

selection

SelectionState<TRowId>

ctx

SelectionContext<TRow, TRowId>

Returns:

SelectionState<TRowId>