|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
A custom component declaration (spec 5 §10). More...
#include <document.hpp>
Public Attributes | |
| std::string | name |
| The component's name. | |
| std::string | path |
| The declaration's JSON Pointer. | |
| std::string | qml |
| The content hash of a delivered QML component (sha256:<hex>); empty for a host component. | |
| std::string | host |
| The name of a host component; empty for a delivered one. | |
| std::int64_t | version = 0 |
| The host component's version. | |
| std::map< std::string, std::string, std::less<> > | props |
| The props and their prop types (string, bool, int, exact, number, json). | |
| std::map< std::string, Type, std::less<> > | events |
| The events and their payload types. | |
| DocNodePtr | fallback |
| The subtree of built-in nodes a renderer shows when it cannot load the component. | |
A custom component declaration (spec 5 §10).
Definition at line 470 of file document.hpp.
| std::string morph::ui::Component::name |
The component's name.
Definition at line 472 of file document.hpp.
| std::string morph::ui::Component::path |
The declaration's JSON Pointer.
Definition at line 474 of file document.hpp.
| std::string morph::ui::Component::qml |
The content hash of a delivered QML component (sha256:<hex>); empty for a host component.
Definition at line 476 of file document.hpp.
| std::string morph::ui::Component::host |
The name of a host component; empty for a delivered one.
Definition at line 478 of file document.hpp.
| std::int64_t morph::ui::Component::version = 0 |
The host component's version.
Definition at line 480 of file document.hpp.
| std::map<std::string, std::string, std::less<> > morph::ui::Component::props |
The props and their prop types (string, bool, int, exact, number, json).
Definition at line 482 of file document.hpp.
| std::map<std::string, Type, std::less<> > morph::ui::Component::events |
The events and their payload types.
Definition at line 484 of file document.hpp.
| DocNodePtr morph::ui::Component::fallback |
The subtree of built-in nodes a renderer shows when it cannot load the component.
Definition at line 486 of file document.hpp.