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

definition: Info
 
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: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
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: Info
 (_, _, _, _, _, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,_,_,_,_) |-> _}
name: Info
 stdModal
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 HTML.Base.HTML a => Prelude.Bool -> String -> [a] -> [a] -> [a] -> a
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms