Modal.hpp
Wraps a Bootstrap modal.
-
class Modal : public Div
- #include <Modal.hpp>
Use Modal class to add a Bootstrap style pop-up modal to your web app.
Public Functions
-
template<typename T>
inline void AddHeaderContent(T val) Add contnet to the header section of the modal Content can be of any type
-
template<typename T>
inline void AddBodyContent(T val) Add content to the body section of the modal Content can be of any type
Add content to the footer section of the modal Content can be of any type
-
inline void AddClosingX()
Adds an X button in the upper right corner of the modal so user can close it Should be called after all desired header content is added Best practice is to call this method, unless a close button is added somewhere else in the modal using AddButton()
-
template<typename T>