CurryInfo: html2-3.5.0 / HTML.Styles.Bootstrap4.stdModal

definition:
 
stdModal :: HTML h => Bool -> String -> [h] -> [h] -> [h] -> h
stdModal staticbackdrop modalId title body footer =
  modal modalId labelId
    [modalDialog
      [modalContent
        [modalHeader
          [ htmlStruct "h5" [("class","modal-title")] title
              `addAttr` ("id",labelId)
          , stdModalClose]
        , modalBody body
        , modalFooter footer]]]
   `addAttrs`
     (if staticbackdrop
        then [("data-backdrop","static"), ("data-keyboard","false")]
        else [])
 where labelId = modalId ++ "Label"
demand:
 argument 1
deterministic:
 deterministic operation
documentation:
 
Defining a modal dialog where a modal id, the title, body, and footer
HTML expressions are provided.
If the first argument is `True`, then the modal dialog
will not close when clicking outside it.
failfree:
 (_, _, _, _, _, _)
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {(_,_,_,_,_,_) |-> _}
name:
 stdModal
precedence:
 no precedence defined
result-values:
 _
signature:
 HTML.Base.HTML a => Prelude.Bool -> String -> [a] -> [a] -> [a] -> a
solution-complete:
 operation might suspend on free variables
terminating:
 yes
totally-defined:
 reducible on all ground data terms