Ga naar hoofdinhoud

CnNotepadWidgetForm

Config sub-form for the notepad widget: a title and a height. The note itself is never part of the placement; it lives in the reader's user preferences. A notepad needs no other configuration, so the form is always valid.

Part of the dashboard widget library. See CnNotepadWidget and the widget library overview.

Reference​

Props​

NameTypeRequiredDefaultDescription
editingWidget{content: object} or nullnullThe placement being edited, or null in create mode.
valueobject\{ title: '', height: '' \}Initial content values when not editing.

Events​

NamePayloadDescription
update:contentobjectEmitted with the assembled content blob (title, height) on every field change.