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
Values
DetailSlots | A detail: each selected member as a term and its value. |
ListSlots | A list: the table, and what stands in for it while there is none. |
RowListSlots | A list drawn as ul/li rows: the same states as a ListView, other markup. |
Interfaces
DetailInput | What a detail's attachments may read, and what the application gives it. |
DisplayContext | What a renderer draws one value from. row is the list's row, or the detail's whole value. |
ListInput | What a list's Style and Behavior attachments may read, and what the application gives it. |
RowListInput | What a RowListView's drawings may read, and what the application gives it. |
ViewWords | The words of a list or a detail that are not a value's own. |
Types
DisplayRenderers | Renderers 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… |