Copyright | (c) Layer 3 Communications, 2016 Matthew Parsons, 2016 |
---|---|
License | BSD3 |
Maintainer | parsonsmatt@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module provide utilities for generating convenience functions for HTML elements.
Documentation
gen :: Name -> String -> DecsQ Source
Given a name for a function and a suffix, this function will generate a list of declarations. Each declaration will consist of the function applied to each of the HTML elements with the given suffix.
Generate elDynAttr
functions for all of the elements with a DynAttr
suffix.
Generate elDynAttr'
functions for all of the elements with a DynAttr'
suffix.