CRUD / API

foldkit-mixins-crud

foldkit-mixins-crud — foldkit-crud lists and details drawn through slots.

foldkit-crud describes each column and draws nothing. This package draws a list as an accessible table and a detail as a description list, and publishes every element as a Slot, so an application styles and extends them the way it does any other SlotView. What a click means is the application's: a list holds no state, so the Messages for opening a row, sorting, and loading more arrive as inputs.

Namespaces

DetailView
Empty
Failure
ListView
LoadingWhat a read says before it has an answer, wherever rows or a value are not the thing to draw. Each draws one paragraph on the application's own status slot:…
RowListView

Values

DetailSlotsA detail: each selected member as a term and its value.
ListSlotsA list: the table, and what stands in for it while there is none.
RowListSlotsA list drawn as ul/li rows: the same states as a ListView, other markup.

Interfaces

DetailInputWhat a detail's attachments may read, and what the application gives it.
DisplayContextWhat a renderer draws one value from. row is the list's row, or the detail's whole value.
ListInputWhat a list's Style and Behavior attachments may read, and what the application gives it.
RowListInputWhat a RowListView's drawings may read, and what the application gives it.
ViewWordsThe words of a list or a detail that are not a value's own.

Types

DisplayRenderersRenderers by the kind of Display they draw. A kind with none says its text (Display.show), so this is how a badge, a link, or a relative date is drawn…