miso
Copyright(C) 2016-2025 David M. Johnson
LicenseBSD3-style (see the file LICENSE)
MaintainerDavid M. Johnson <code@dmj.io>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Miso.Html.Render

Contents

Description

 
Synopsis

Classes

class ToHtml a where Source #

Class for rendering HTML

Methods

toHtml :: a -> ByteString Source #

Instances

Instances details
ToHtml [View m a] Source #

Render a [View] to a L.ByteString

Instance details

Defined in Miso.Html.Render

Methods

toHtml :: [View m a] -> ByteString Source #

ToHtml (View m a) Source #

Render a View to a L.ByteString

Instance details

Defined in Miso.Html.Render

Methods

toHtml :: View m a -> ByteString Source #

ToHtml (Component parent model action) Source #

Render a Component parent model action to a L.ByteString

Instance details

Defined in Miso.Html.Render

Methods

toHtml :: Component parent model action -> ByteString Source #