Nui
Loading...
Searching...
No Matches
nui
include
nui
frontend
elements
fragment.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
nui/frontend/elements/impl/html_element_incl.hpp
>
4
5
#include <tuple>
6
7
namespace
Nui::Elements
8
{
14
template
<
typename
... ParametersT>
15
constexpr
auto
fragment
(ParametersT&&... params)
16
{
17
return
[generator =
HtmlElement
{
"fragmenterror"
, &
RegularHtmlElementBridge
}(
18
std::forward<ParametersT>(params)...)](
auto
& parentElement,
Renderer
const
&) {
19
return
generator(parentElement,
Renderer
{.
type
=
RendererType::Inplace
});
20
};
21
}
22
}
Nui::HtmlElement
Definition
html_element.hpp:58
html_element_incl.hpp
Nui::Elements
Definition
comment.hpp:10
Nui::Elements::fragment
constexpr auto fragment(ParametersT &&... params)
A fragment is a collection of elements that can be inserted into a parent without an enclosing tag.
Definition
fragment.hpp:15
Nui::RendererType::Inplace
@ Inplace
Nui::RegularHtmlElementBridge
constexpr auto RegularHtmlElementBridge
Definition
html_element_bridges.hpp:8
Nui::Renderer
Definition
materialize.hpp:57
Nui::Renderer::type
RendererType type
Definition
materialize.hpp:58
Generated by
1.9.8