mmo-blocks-form
1 symbol · generated 30 Nov 2026
mmo-blocks-form
mmo-blocks-form.jhs:1The blocks of a record, as a form: for each block its type offers (blocks, in order), a fieldset of its fields -- the page editor's inputs (MMO.editor.SchemaForm), made from the block's schema. Its value is the record's blocks, {name: {its fields}}: a block the type no longer offers keeps its data (shown again once offered).
- Extends
CustomShadowElement
Index
| blocks | the names of the blocks, comma separated, in order (event,gallery) | |
| value | the record's blocks: an object, or its json | |
| upload-labels | where its images go in mmo.edms ("_TAGS/site/articles") | |
| readonly | the blocks to see, not to change | |
| value accessor | ||
| blocks accessor | an attribute observed is set as a property: each has its setter | |
| readonly accessor | ||
| init() | ||
| draw() | Draw a fieldset per block, its fields made from its schema | |
| (default) |
Attributes4
blocks
mmo-blocks-form.jhsthe names of the blocks, comma separated, in order (event,gallery)
blocks
value
mmo-blocks-form.jhsthe record's blocks: an object, or its json
value
upload-labels
mmo-blocks-form.jhswhere its images go in mmo.edms ("_TAGS/site/articles")
upload-labels
readonly
mmo-blocks-form.jhsthe blocks to see, not to change
readonly
Properties3
value
accessormmo-blocks-form.jhs:35- Type
Object
blocks
accessormmo-blocks-form.jhs:56an attribute observed is set as a property: each has its setter
- Type
Array<string>
readonly
accessormmo-blocks-form.jhs:68Methods2
init()
mmo-blocks-form.jhs:20draw()
mmo-blocks-form.jhs:78Draw a fieldset per block, its fields made from its schema
Slots1
(default)
mmo-blocks-form.jhs<slot>