interface

AdminCollectionList

Live, read-only projections and selection commands from Ridu's list controller.

Properties

PropertyTypeDescription
documentsreadonly 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.
selectedIDsReadonlySet<string>The selectedIDs value.
selectionEnabledbooleanThe selectionEnabled value.
allOnPageSelectedbooleanThe allOnPageSelected value.
pageSelectionIndeterminatebooleanThe pageSelectionIndeterminate value.
toggleDocument(id: string, selected: boolean) => voidThe toggleDocument value.
togglePage(selected: boolean) => voidThe togglePage value.
title(document: FieldDocument) => stringThe title value.
documentHref(document: FieldDocument) => stringRouter-root destination with an encoded ID and the current content locale.

Full signature

Methods