Nui
Classes | Namespaces | Functions
delocalized.hpp File Reference
#include <nui/frontend/element_renderer.hpp>
#include <nui/frontend/dom/element.hpp>
#include <nui/frontend/event_system/observed_value.hpp>
#include <nui/frontend/elements/div.hpp>
#include <nui/frontend/elements/nil.hpp>
#include <nui/frontend/attributes/class.hpp>
#include <nui/frontend/attributes/style.hpp>
#include <memory>
#include <optional>
#include <string>
Include dependency graph for delocalized.hpp:

Go to the source code of this file.

Classes

class  Nui::Delocalized< SlotId >
 A delocalized element can switch positions in several slots. More...
 

Namespaces

 Nui
 

Functions

template<typename SlotId >
ElementRenderer Nui::delocalizedSlot (SlotId slot, Delocalized< SlotId > &delocalizedElement, std::vector< Attribute > wrapperAttributes={}, ElementRenderer alternative=Elements::div{Attributes::style="display: none"}())
 
ElementRenderer Nui::delocalizedSlot (char const *slot, Delocalized< std::string > &delocalizedElement, std::vector< Attribute > wrapperAttributes={}, ElementRenderer alternative=Elements::div{Attributes::style="display: none"}())