Example: App Block (Extended Core)
How a third party extends the block model: a strict union of Hypermedia’s core blocks plus the app’s own Poll block, rejecting block types it does not know.· one of 2 variants:
example/poll-block
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.
Powered by Seed HypermediaOpen App