reflex-dom-helpers-0.1.0.0: Element tag helpers for working with reflex-dom

Copyright(c) Layer 3 Communications, 2016 Matthew Parsons, 2016
LicenseBSD3
Maintainerparsonsmatt@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Reflex.Tags.TH

Description

This module provide utilities for generating convenience functions for HTML elements.

Synopsis

Documentation

elements :: [String] Source

A list of all HTML elements.

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.

gen_ :: DecsQ Source

Generate el functions for all of the elements with an _ suffix.

gen' :: DecsQ Source

Generate el' functions for all of the elements with an ' suffix.

genAttr :: DecsQ Source

Generate elAttr functions for all of the elements with an Attr suffix.

genAttr' :: DecsQ Source

Generate elAttr' functions for all of the elements with an Attr' suffix.

genDynAttr :: DecsQ Source

Generate elDynAttr functions for all of the elements with a DynAttr suffix.

genDynAttr' :: DecsQ Source

Generate elDynAttr' functions for all of the elements with a DynAttr' suffix.

genTags :: DecsQ Source

Generate all of the tags with all of the suffixes.