interface
AdminCollectionList
Live, read-only projections and selection commands from Ridu's list controller.
Properties
| Property | Type | Description |
|---|---|---|
documents | readonly FieldDocument[] | The current page. Each document holds its metadata, title, visible columns and the fields
the results layout declares in fields; the list doesn't read anything else. |
selectedIDs | ReadonlySet< | The selectedIDs value. |
selectionEnabled | boolean | The selectionEnabled value. |
allOnPageSelected | boolean | The allOnPageSelected value. |
pageSelectionIndeterminate | boolean | The pageSelectionIndeterminate value. |
toggleDocument | (id: string, | The toggleDocument value. |
togglePage | (selected: boolean) => void | The togglePage value. |
title | (document: FieldDocument) => string | The title value. |
documentHref | (document: FieldDocument) => string | Router-root destination with an encoded ID and the current content locale. |
Full signature
interface AdminCollectionList { ... }Methods
AdminCollectionList.documentHref()Build a document destination for your collection card or row link.
AdminCollectionList.title()Public method AdminCollectionList.title from @riducms/plugin.
AdminCollectionList.toggleDocument()Public method AdminCollectionList.toggleDocument from @riducms/plugin.
AdminCollectionList.togglePage()Public method AdminCollectionList.togglePage from @riducms/plugin.