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
Interfaces
ConfirmInput | |
ConfirmWords | What a question before a delete says. {name} is the thing's, {message} the error's. |
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. |
EditorInput | |
EditorWords | What an editor says itself. A save that did not land is the form's to say, beside its button (Crud.editor's words), so it is announced once. |
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. |
ToolbarInput | A list's controls, each the application's own drawing: the search box, the filters, the order and the actions. It reads no query state; what each control… |
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… |