ihp-modal-1.0.0: Modal dialog support for IHP applications
Copyright(c) digitally induced GmbH 2020
Safe HaskellNone
LanguageGHC2021

IHP.Modal.ControllerFunctions

Description

 
Synopsis

Documentation

setModal :: (?request :: Request) => Html -> IO () Source #

Store modal HTML in the context for later rendering.

In IHP, you typically use this with a rendered view:

setModal (html MyModalView { .. })