Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/nathanjohnson320/elm-ui-components is gone (deleted or private); Software Heritage not asked yet (this run's --swh-calls were used up); no fork with tag 2.1.0 found (3 same-name repos checked); no cached copy. Use another version.
A styled full page Modal
Instantiates the default properties of a modal
{ defaultModal | open = True }A styled modal
modal
defaultTheme
{ defaultModal
| open = model.modalOpen
}
ToggleModal
[ css [ width (px 400), height (px 400) ] ]
[ button
defaultTheme
defaultButton
[ onClick <| ToggleModal False ]
[ text "Close it!" ]
]
Base model for a Modal