RowListInput.page
property · packages/mixins-crud/src/index.ts:100
readonly page: RemoteData<Page<Row>>CRUD / foldkit-mixins-crud
interface · packages/mixins-crud/src/index.ts:99
interface RowListInput<Row, Message> {
readonly page: RemoteData<Page<Row>>
readonly row: (row: Row, h: HtmlBuilder<Message>) => ReadonlyArray<Html>
readonly onOpen?: ((row: Row) => Message) | undefined
readonly onMore?: Message | undefined
readonly onRetry?: Message | undefined
readonly rowKey?: ((row: Row) => string) | undefined
readonly words?: ViewWords | undefined
}What a RowListView's drawings may read, and what the application gives it.
RowListInput.pageproperty · packages/mixins-crud/src/index.ts:100
readonly page: RemoteData<Page<Row>>RowListInput.rowproperty · packages/mixins-crud/src/index.ts:102
readonly row: (row: Row, h: HtmlBuilder<Message>) => ReadonlyArray<Html>Draws one row's content. The whole row is a button when onOpen is given.
RowListInput.onOpenproperty · packages/mixins-crud/src/index.ts:104
readonly onOpen?: ((row: Row) => Message) | undefinedOpens a row. Given, the row's drawing becomes a button that sends it.
RowListInput.onMoreproperty · packages/mixins-crud/src/index.ts:106
readonly onMore?: Message | undefinedLoads the next page. Shown while the page has one.
RowListInput.onRetryproperty · packages/mixins-crud/src/index.ts:108
readonly onRetry?: Message | undefinedAsks again after a failed read. Given, a failed list shows a button that sends it.
RowListInput.rowKeyproperty · packages/mixins-crud/src/index.ts:110
readonly rowKey?: ((row: Row) => string) | undefinedWhat identifies a row across renders. Default its id, else its position.
RowListInput.wordsproperty · packages/mixins-crud/src/index.ts:111
readonly words?: ViewWords | undefined