The basic element cannot have children and does not hold explicit ownership of them.
More...
|
| 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 |
|
The basic element cannot have children and does not hold explicit ownership of them.
To represent an actual HtmlElement use the Element class.