EditorInput.id
property · packages/mixins-crud/src/editor.ts:58
readonly id: stringUnique on the page: the root's id, and the prefix of its title's.
CRUD / foldkit-mixins-crud
interface · packages/mixins-crud/src/editor.ts:56
interface EditorInput<Message> {
readonly id: string
readonly status: EditorStatus
readonly title: string
readonly form: Html
readonly error?: string | undefined
readonly onClose?: Message | undefined
readonly onRetry?: Message | undefined
readonly words?: EditorWords | undefined
}EditorInput.idproperty · packages/mixins-crud/src/editor.ts:58
readonly id: stringUnique on the page: the root's id, and the prefix of its title's.
EditorInput.statusproperty · packages/mixins-crud/src/editor.ts:59
readonly status: EditorStatusEditorInput.titleproperty · packages/mixins-crud/src/editor.ts:60
readonly title: stringEditorInput.formproperty · packages/mixins-crud/src/editor.ts:62
readonly form: HtmlThe form, drawn by its own view (EditForm.view(model, h, inputs)). Shown while there is something to edit.
EditorInput.errorproperty · packages/mixins-crud/src/editor.ts:64
readonly error?: string | undefinedWhy the last save failed: the editor's saveError(model)?.message.
EditorInput.onCloseproperty · packages/mixins-crud/src/editor.ts:66
readonly onClose?: Message | undefinedCloses the editor. Given, a close button sends it.
EditorInput.onRetryproperty · packages/mixins-crud/src/editor.ts:68
readonly onRetry?: Message | undefinedAsks again after a failed read: a Message whose update calls refresh.
EditorInput.wordsproperty · packages/mixins-crud/src/editor.ts:69
readonly words?: EditorWords | undefined