| Copyright | (C) 2016-2025 David M. Johnson |
|---|---|
| License | BSD3-style (see the file LICENSE) |
| Maintainer | David M. Johnson <code@dmj.io> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Miso.Html
Description
Example usage:
import Miso import Miso.String data Action = Add | Subtract view_ :: Int -> View Int Action view_ n = div_ [ class_ "main" ] [ button_ [ onClick Add ] [ text_ "+" ] , text_ (ms n) , button_ [ onClick Subtract ] [ text_ "-" ] ]
More information on how to use miso is available on GitHub.
Synopsis
- module Miso.Html.Element
- module Miso.Html.Event
- module Miso.Html.Render