Expand description
Host access stays here so components keep renderer-independent signatures.
Eval-capable hosts use a fixed script and a data channel. SSR and native hosts
report Unsupported, allowing callers to keep their native markup fallback.
Structs§
- Capabilities
- Capabilities detected after mount, never used to change the initial tree.
- DomBridge
- An asynchronous host bridge; errors are acknowledged by the host.
- Editor
Session - Upstream’s editor binding attached to one
.fc-editor. Events arrive in order. Dropping the session, as unmounting the editor does when its task ends, calls the binding’sdestroy(), so no listener outlives the component. - Menu
Point - A viewport point a popup opens at, in CSS pixels.
- Preference
Watch - A user preference as it changes, from
DomBridge::watch.
Enums§
- DomError
- A host operation could not be performed.
- Edge
- Which side of a popup sits at a point’s x.
- Editor
Event - Something upstream’s editor binding reported.
- Media
Preference - A user preference the host reports through a media query. Fixed queries only, so no caller can pass the bridge arbitrary text.
- Scroll
Block - The position to which a node is scrolled.
Functions§
- location_
query - Read the web entrypoint’s query string. Non-web hosts supply initial props. This is input to the application, not capability-dependent component markup.