Class

useSelectedRecords

useSelectedRecords

Type Definitions

object

# UseSelectedRecordsResult

Result of the useSelectedRecords hook.

It is a object containing multiple tools you can use in your component

Properties:
Name Type Description
selectedRecords Array.<RecordJSON>

Array of selected records

setSelectedRecords function

Sets selected records

handleSelect function

handler function for single select action

handleSelectAll function

handler function for select all records action

View Source adminjs/src/frontend/hooks/use-selected-records/use-selected-records-result.type.ts, line 5