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.Render
Contents
Description
Synopsis
- class ToHtml a where
- toHtml :: a -> ByteString
Classes
Class for rendering HTML
Methods
toHtml :: a -> ByteString Source #
Instances
ToHtml [View m a] Source # | Render a |
Defined in Miso.Html.Render Methods toHtml :: [View m a] -> ByteString Source # | |
ToHtml (View m a) Source # | Render a |
Defined in Miso.Html.Render Methods toHtml :: View m a -> ByteString Source # | |
ToHtml (Component parent model action) Source # | Render a |
Defined in Miso.Html.Render Methods toHtml :: Component parent model action -> ByteString Source # |