Nui
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
materialize.hpp File Reference
#include <nui/frontend/val.hpp>
#include <type_traits>
#include <cstddef>
Include dependency graph for materialize.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Nui::Renderer
 

Namespaces

namespace  Nui
 
namespace  Nui::Materializers
 

Enumerations

enum class  Nui::RendererType {
  Nui::Append , Nui::Fragment , Nui::Insert , Nui::Replace ,
  Nui::Inplace , Nui::Emplace
}
 

Functions

auto Nui::Materializers::appendMaterialize (auto &parent, auto const &htmlElement)
 Creates new actual element and makes it a child of the given parent.
 
auto Nui::Materializers::fragmentMaterialize (auto &parent, auto const &htmlElement)
 Similar to appendMaterialize, but the new element is not added to the children list.
 
auto Nui::Materializers::insertMaterialize (std::size_t where, auto &parent, auto const &htmlElement)
 Inserts new element at the given position of the given parent.
 
auto Nui::Materializers::replaceMaterialize (auto &element, auto const &htmlElement)
 Replaces the given element with the new one.
 
auto Nui::Materializers::emplaceMaterialize (auto &element, auto const &htmlElement)
 Replaces the given element with the new one.
 
auto Nui::Materializers::inplaceMaterialize (auto &element, auto const &)
 Used for elements that dont have a direct parent.
 
auto Nui::renderElement (Renderer const &gen, auto &element, auto const &htmlElement)