|
| Element (HtmlElement const &elem) |
|
| Element (Nui::val val) |
| This constructor takes ownership of a val. More...
|
|
| Element () |
|
| Element (Element const &)=delete |
|
| Element (Element &&)=delete |
|
Element & | operator= (Element const &)=delete |
|
Element & | operator= (Element &&)=delete |
|
| ~Element () |
|
iterator | begin () |
|
iterator | end () |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
void | appendElement (std::invocable< Element &, Renderer const & > auto &&fn) |
|
auto | appendElement (HtmlElement const &element) |
|
auto | slotFor (value_type const &value) |
|
void | replaceElement (std::invocable< Element &, Renderer const & > auto &&fn) |
|
auto | replaceElement (HtmlElement const &element) |
|
auto | emplaceElement (HtmlElement const &element) |
|
auto | emplaceElement (std::invocable< Element &, Renderer const & > auto &&fn) |
|
void | setTextContent (std::string const &text) |
|
void | setTextContent (char const *text) |
|
void | setTextContent (std::string_view text) |
|
void | appendElements (std::vector< std::function< std::shared_ptr< Element >(Element &, Renderer const &)>> const &elements) |
|
auto | insert (iterator where, HtmlElement const &element) |
|
void | setup (HtmlElement const &element) |
| Relies on weak_from_this and cannot be used from the constructor. More...
|
|
auto | insert (std::size_t where, HtmlElement const &element) |
|
auto & | operator[] (std::size_t index) |
|
auto const & | operator[] (std::size_t index) const |
|
auto | erase (iterator where) |
|
auto | erase (iterator first, iterator last) |
|
void | clearChildren () |
|
bool | hasChildren () const |
|
std::size_t | childCount () const |
|
std::string | tagName () const |
|
| ChildlessElement (HtmlElement const &elem) |
|
| ChildlessElement (Nui::val val) |
|
void | setProperty (std::string_view key, std::string const &value) |
|
void | setProperty (std::string_view key, std::string_view value) |
|
void | setProperty (std::string_view key, char const *value) |
|
void | setProperty (std::string_view key, std::invocable< Nui::val > auto &&value) |
|
template<typename T > |
void | setProperty (std::string_view key, std::optional< T > const &value) |
|
void | setProperty (std::string_view key, bool value) |
|
template<typename... List> |
void | setProperty (std::string_view key, std::variant< List... > const &variant) |
|
template<typename T > |
requires std::integral< T > void | setProperty (std::string_view key, T value) |
|
template<typename T > |
requires std::floating_point< T > void | setProperty (std::string_view key, T value) |
|
void | addEventListener (std::string_view event, std::invocable< Nui::val > auto &&callback) |
|
void | setAttribute (std::string_view key, std::string const &value) |
|
void | setAttribute (std::string_view key, std::string_view value) |
|
void | setAttribute (std::string_view key, std::invocable< Nui::val > auto &&value) |
|
void | setAttribute (std::string_view key, char const *value) |
|
void | setAttribute (std::string_view key, bool value) |
|
template<typename T > |
requires std::integral< T > void | setAttribute (std::string_view key, T value) |
|
template<typename T > |
requires std::floating_point< T > void | setAttribute (std::string_view key, T value) |
|
void | setAttribute (std::string_view key, Nui::val value) |
|
template<typename T > |
void | setAttribute (std::string_view key, std::optional< T > const &value) |
|
template<typename... List> |
void | setAttribute (std::string_view key, std::variant< List... > const &variant) |
|
void | setNodeValue (std::string_view value) |
|
void | setNodeValue (std::string const &value) |
|
| BasicElement (Nui::val val) |
|
virtual | ~BasicElement ()=default |
|
Nui::val const & | val () const |
|
Nui::val & | val () |
|
| operator Nui::val const & () const |
|
| operator Nui::val & () |
|
| operator Nui::val && () && |
|
template<class Derived > |
std::shared_ptr< Derived > | shared_from_base () |
|
template<class Derived > |
std::weak_ptr< Derived > | weak_from_base () |
|
std::string | tagName () const |
|
std::optional< std::string > | namespaceUri () const |
|