Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Declares an
Int
-instance for XHTML. - Exports some convenience-functions for XHTML.
Synopsis
- mkShowHideButton :: Bool -> CSSIdentifier -> Html
- mkXHTMLDiv :: String -> Html -> Html
- mkXHTMLSpan :: String -> Html -> Html
Constants
Functions
:: Bool | Whether the element is initially displayed; if |
-> CSSIdentifier | The name of the element to show or hide. |
-> Html |
Create a button to show/hide the specified element.
mkXHTMLDiv :: String -> Html -> Html Source #
Make an XHTML div, which labels & classifies the contents.
mkXHTMLSpan :: String -> Html -> Html Source #
Make an XHTML span, which labels & classifies the contents.