31 std::shared_ptr<Dom::Element> stableElement_;
Definition: element.hpp:42
Definition: stabilize.hpp:12
StableElement()
Definition: stabilize.hpp:14
Dom::Element & stableElement()
Definition: stabilize.cpp:18
void reset()
Resets the stable element, so that it is re-rendered on the next render.
Definition: stabilize.cpp:8
void destroy()
Destroys the stable element directly, which will make it also disappear from the page.
Definition: stabilize.cpp:13
friend ElementRenderer stabilize(StableElement &stableElement, ElementRenderer const &encapsulatedRenderer)
Stabilizes an element, so that it is not re-rendered on every render.
Definition: stabilize.cpp:28
Definition: file_dialog.hpp:6
std::function< std::shared_ptr< Dom::Element >(Dom::Element &, Renderer const &)> ElementRenderer
Definition: element_renderer.hpp:11
ElementRenderer stabilize(StableElement &stableElement, ElementRenderer const &encapsulatedRenderer)
Stabilizes an element, so that it is not re-rendered on every render.
Definition: stabilize.cpp:28