API Reference
Cinder.dispatch
Dispatch a resolved intent into the app through routes, DOM execution, adapters, bindings, or composite steps.
Need the shortest path?
Use Quick Start when you want the smallest working route → scan → graph → run flow first.
Something feels off?
Inspect scan output, graph state, active route/context, and dispatch in a practical order.
Need the full surface?
Browse all runtime methods, hooks, extension points, and lifecycle APIs.
dispatch() executes a structured intent against the current runtime graph and browser surface.
Example
ts
3 lines
const intent = Cinder.resolve('open reports');
const result = await Cinder.dispatch(intent, document);
console.log(result);It can use
- registered route activation
- standard DOM navigation
- native field and filter updates
- form submit behavior
- output reveal and focus behavior
- DOM adapters
- bindings
- composite multi-step flows
What to inspect
Look at:
handledmodeexecutedStepserrors
These tell you whether dispatch succeeded through DOM behavior, bindings, or a multi-step path.
Continue reading