|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
A custom or host component (spec 5 §10). More...
#include <author.hpp>
Public Attributes | |
| std::string | qml |
| The content hash of a delivered component, sha256:<64 hex digits>; empty for a host component. | |
| std::string | host |
| The name of a host component the client carries; empty for a delivered one. | |
| std::int64_t | version = 0 |
| The host component's version. | |
| std::vector< std::pair< std::string, PropType > > | props |
| The props and their types. | |
| std::vector< std::pair< std::string, std::string > > | events |
| The events and their payload types. | |
| std::optional< Node > | fallback |
| The built-in subtree a renderer shows when it cannot load the component; it reads the props through prop(name). | |
A custom or host component (spec 5 §10).
Definition at line 2347 of file author.hpp.
| std::string morph::ui::author::ComponentOptions::qml |
The content hash of a delivered component, sha256:<64 hex digits>; empty for a host component.
Definition at line 2349 of file author.hpp.
| std::string morph::ui::author::ComponentOptions::host |
The name of a host component the client carries; empty for a delivered one.
Definition at line 2351 of file author.hpp.
| std::int64_t morph::ui::author::ComponentOptions::version = 0 |
The host component's version.
Definition at line 2353 of file author.hpp.
| std::vector<std::pair<std::string, PropType> > morph::ui::author::ComponentOptions::props |
The props and their types.
Definition at line 2355 of file author.hpp.
| std::vector<std::pair<std::string, std::string> > morph::ui::author::ComponentOptions::events |
The events and their payload types.
Definition at line 2357 of file author.hpp.
| std::optional<Node> morph::ui::author::ComponentOptions::fallback |
The built-in subtree a renderer shows when it cannot load the component; it reads the props through prop(name).
Definition at line 2360 of file author.hpp.