waygraph / defineMemNavBlock
Function: defineMemNavBlock()
defineMemNavBlock<
Out>(options):MemNavBlock<Out>
Defined in: src/engine/block/kinds/nav.ts:271
defineNavBlock constrained to mem-picked navigation: requires + instanceOptions mandatory, and click/url should depend on that mem (typically click: (mem) => …). Prefer this when the Block opens one of several live rows/items rather than a fixed nav target. Still a Block.
Type Parameters
Out
Out extends Checkpoint<string>
Parameters
options
NavBlockOptions<Out> & object
Returns
MemNavBlock<Out>