· one of 2 variants:
How a third party extends the block model. This union holds Hypermedia's core blocks plus the app's own custom blocks, here a poll. It is strict: it accepts core blocks and polls, and rejects block types it does not know. An app validates its documents against it.
This page describes the example/app-block type, one of the example schemas. The formal schema is attached as the schemaDefinition in this page's metadata, so the app can show it and create values of this type.
See also
poll-block: the custom block it adds.
myapp-change: a Change bound to this block type.
Core blocks: the built-in block union.
Blocks: the block model.
Examples: every example, grouped by feature.
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime