Nui
Public Member Functions | List of all members
Nui::ChildrenRenderer< HtmlElem > Struct Template Reference

#include <html_element.hpp>

Public Member Functions

 ChildrenRenderer (HtmlElem htmlElement, std::vector< std::function< std::shared_ptr< Dom::Element >(Dom::Element &, Renderer const &)>> children)
 
std::shared_ptr< Dom::Elementoperator() (Dom::Element &parentElement, Renderer const &gen) const
 

Constructor & Destructor Documentation

◆ ChildrenRenderer()

template<typename HtmlElem >
Nui::ChildrenRenderer< HtmlElem >::ChildrenRenderer ( HtmlElem  htmlElement,
std::vector< std::function< std::shared_ptr< Dom::Element >(Dom::Element &, Renderer const &)>>  children 
)

Member Function Documentation

◆ operator()()

template<typename HtmlElem >
std::shared_ptr<Dom::Element> Nui::ChildrenRenderer< HtmlElem >::operator() ( Dom::Element parentElement,
Renderer const &  gen 
) const

The documentation for this struct was generated from the following file: