front-0.0.0.1: A reactive frontend web framework

Safe HaskellNone
LanguageHaskell2010

Text.Blaze.Front.Html5.Attributes

Description

This module exports combinators that provide you with the ability to set attributes on HTML elements.

Synopsis

Documentation

accept Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the accept attribute.

Example:

div ! accept "bar" $ "Hello."

Result:

<div accept="bar">Hello.</div>

accesskey Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the accessKey attribute.

Example:

div ! accesskey "bar" $ "Hello."

Result:

<div accessKey="bar">Hello.</div>

action Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the action attribute.

Example:

div ! action "bar" $ "Hello."

Result:

<div action="bar">Hello.</div>

allowfullscreen Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the allowFullScreen attribute.

Example:

div ! allowfullscreen "bar" $ "Hello."

Result:

<div allowFullScreen="bar">Hello.</div>

allowtransparency Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the allowTransparency attribute.

Example:

div ! allowtransparency "bar" $ "Hello."

Result:

<div allowTransparency="bar">Hello.</div>

alt Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the alt attribute.

Example:

div ! alt "bar" $ "Hello."

Result:

<div alt="bar">Hello.</div>

async Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the async attribute.

Example:

div ! async "bar" $ "Hello."

Result:

<div async="bar">Hello.</div>

autocapitalize Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the autoCapitalize attribute.

Example:

div ! autocapitalize "bar" $ "Hello."

Result:

<div autoCapitalize="bar">Hello.</div>

autocomplete Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the autoComplete attribute.

Example:

div ! autocomplete "bar" $ "Hello."

Result:

<div autoComplete="bar">Hello.</div>

autocorrect Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the autoCorrect attribute.

Example:

div ! autocorrect "bar" $ "Hello."

Result:

<div autoCorrect="bar">Hello.</div>

autofocus Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the autoFocus attribute.

Example:

div ! autofocus "bar" $ "Hello."

Result:

<div autoFocus="bar">Hello.</div>

autoplay Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the autoPlay attribute.

Example:

div ! autoplay "bar" $ "Hello."

Result:

<div autoPlay="bar">Hello.</div>

cellpadding Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the cellPadding attribute.

Example:

div ! cellpadding "bar" $ "Hello."

Result:

<div cellPadding="bar">Hello.</div>

cellspacing Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the cellSpacing attribute.

Example:

div ! cellspacing "bar" $ "Hello."

Result:

<div cellSpacing="bar">Hello.</div>

charset Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the charSet attribute.

Example:

div ! charset "bar" $ "Hello."

Result:

<div charSet="bar">Hello.</div>

checked Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the checked attribute.

Example:

div ! checked "bar" $ "Hello."

Result:

<div checked="bar">Hello.</div>

class_ Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the className attribute.

Example:

div ! class_ "bar" $ "Hello."

Result:

<div className="bar">Hello.</div>

colspan Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the colSpan attribute.

Example:

div ! colspan "bar" $ "Hello."

Result:

<div colSpan="bar">Hello.</div>

cols Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the cols attribute.

Example:

div ! cols "bar" $ "Hello."

Result:

<div cols="bar">Hello.</div>

content Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the content attribute.

Example:

div ! content "bar" $ "Hello."

Result:

<div content="bar">Hello.</div>

contenteditable Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the contentEditable attribute.

Example:

div ! contenteditable "bar" $ "Hello."

Result:

<div contentEditable="bar">Hello.</div>

contextmenu Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the contextMenu attribute.

Example:

div ! contextmenu "bar" $ "Hello."

Result:

<div contextMenu="bar">Hello.</div>

controls Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the controls attribute.

Example:

div ! controls "bar" $ "Hello."

Result:

<div controls="bar">Hello.</div>

coords Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the coords attribute.

Example:

div ! coords "bar" $ "Hello."

Result:

<div coords="bar">Hello.</div>

crossorigin Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the crossOrigin attribute.

Example:

div ! crossorigin "bar" $ "Hello."

Result:

<div crossOrigin="bar">Hello.</div>

data_ Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the data attribute.

Example:

div ! data_ "bar" $ "Hello."

Result:

<div data="bar">Hello.</div>

datetime Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the dateTime attribute.

Example:

div ! datetime "bar" $ "Hello."

Result:

<div dateTime="bar">Hello.</div>

defer Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the defer attribute.

Example:

div ! defer "bar" $ "Hello."

Result:

<div defer="bar">Hello.</div>

dir Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the dir attribute.

Example:

div ! dir "bar" $ "Hello."

Result:

<div dir="bar">Hello.</div>

disabled Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the disabled attribute.

Example:

div ! disabled "bar" $ "Hello."

Result:

<div disabled="bar">Hello.</div>

download Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the download attribute.

Example:

div ! download "bar" $ "Hello."

Result:

<div download="bar">Hello.</div>

draggable Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the draggable attribute.

Example:

div ! draggable "bar" $ "Hello."

Result:

<div draggable="bar">Hello.</div>

enctype Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the encType attribute.

Example:

div ! enctype "bar" $ "Hello."

Result:

<div encType="bar">Hello.</div>

form Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the form attribute.

Example:

div ! form "bar" $ "Hello."

Result:

<div form="bar">Hello.</div>

formnovalidate Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the formNoValidate attribute.

Example:

div ! formnovalidate "bar" $ "Hello."

Result:

<div formNoValidate="bar">Hello.</div>

frameborder Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the frameBorder attribute.

Example:

div ! frameborder "bar" $ "Hello."

Result:

<div frameBorder="bar">Hello.</div>

height Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the height attribute.

Example:

div ! height "bar" $ "Hello."

Result:

<div height="bar">Hello.</div>

hidden Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the hidden attribute.

Example:

div ! hidden "bar" $ "Hello."

Result:

<div hidden="bar">Hello.</div>

href Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the href attribute.

Example:

div ! href "bar" $ "Hello."

Result:

<div href="bar">Hello.</div>

hreflang Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the hrefLang attribute.

Example:

div ! hreflang "bar" $ "Hello."

Result:

<div hrefLang="bar">Hello.</div>

for Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the htmlFor attribute.

Example:

div ! for "bar" $ "Hello."

Result:

<div htmlFor="bar">Hello.</div>

httpequiv Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the httpEquiv attribute.

Example:

div ! httpequiv "bar" $ "Hello."

Result:

<div httpEquiv="bar">Hello.</div>

icon Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the icon attribute.

Example:

div ! icon "bar" $ "Hello."

Result:

<div icon="bar">Hello.</div>

id Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the id attribute.

Example:

div ! id "bar" $ "Hello."

Result:

<div id="bar">Hello.</div>

itemprop Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the itemProp attribute.

Example:

div ! itemprop "bar" $ "Hello."

Result:

<div itemProp="bar">Hello.</div>

itemscope Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the itemScope attribute.

Example:

div ! itemscope "bar" $ "Hello."

Result:

<div itemScope="bar">Hello.</div>

itemtype Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the itemType attribute.

Example:

div ! itemtype "bar" $ "Hello."

Result:

<div itemType="bar">Hello.</div>

key Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the key attribute.

Example:

div ! key "bar" $ "Hello."

Result:

<div key="bar">Hello.</div>

label Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the label attribute.

Example:

div ! label "bar" $ "Hello."

Result:

<div label="bar">Hello.</div>

lang Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the lang attribute.

Example:

div ! lang "bar" $ "Hello."

Result:

<div lang="bar">Hello.</div>

list Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the list attribute.

Example:

div ! list "bar" $ "Hello."

Result:

<div list="bar">Hello.</div>

loop Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the loop attribute.

Example:

div ! loop "bar" $ "Hello."

Result:

<div loop="bar">Hello.</div>

max Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the max attribute.

Example:

div ! max "bar" $ "Hello."

Result:

<div max="bar">Hello.</div>

maxlength Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the maxLength attribute.

Example:

div ! maxlength "bar" $ "Hello."

Result:

<div maxLength="bar">Hello.</div>

mediagroup Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the mediaGroup attribute.

Example:

div ! mediagroup "bar" $ "Hello."

Result:

<div mediaGroup="bar">Hello.</div>

method Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the method attribute.

Example:

div ! method "bar" $ "Hello."

Result:

<div method="bar">Hello.</div>

min Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the min attribute.

Example:

div ! min "bar" $ "Hello."

Result:

<div min="bar">Hello.</div>

multiple Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the multiple attribute.

Example:

div ! multiple "bar" $ "Hello."

Result:

<div multiple="bar">Hello.</div>

muted Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the muted attribute.

Example:

div ! muted "bar" $ "Hello."

Result:

<div muted="bar">Hello.</div>

name Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the name attribute.

Example:

div ! name "bar" $ "Hello."

Result:

<div name="bar">Hello.</div>

novalidate Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the noValidate attribute.

Example:

div ! novalidate "bar" $ "Hello."

Result:

<div noValidate="bar">Hello.</div>

pattern Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the pattern attribute.

Example:

div ! pattern "bar" $ "Hello."

Result:

<div pattern="bar">Hello.</div>

placeholder Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the placeholder attribute.

Example:

div ! placeholder "bar" $ "Hello."

Result:

<div placeholder="bar">Hello.</div>

poster Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the poster attribute.

Example:

div ! poster "bar" $ "Hello."

Result:

<div poster="bar">Hello.</div>

preload Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the preload attribute.

Example:

div ! preload "bar" $ "Hello."

Result:

<div preload="bar">Hello.</div>

property Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the property attribute.

Example:

div ! property "bar" $ "Hello."

Result:

<div property="bar">Hello.</div>

radiogroup Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the radioGroup attribute.

Example:

div ! radiogroup "bar" $ "Hello."

Result:

<div radioGroup="bar">Hello.</div>

readonly Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the readOnly attribute.

Example:

div ! readonly "bar" $ "Hello."

Result:

<div readOnly="bar">Hello.</div>

rel Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the rel attribute.

Example:

div ! rel "bar" $ "Hello."

Result:

<div rel="bar">Hello.</div>

required Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the required attribute.

Example:

div ! required "bar" $ "Hello."

Result:

<div required="bar">Hello.</div>

role Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the role attribute.

Example:

div ! role "bar" $ "Hello."

Result:

<div role="bar">Hello.</div>

rowspan Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the rowSpan attribute.

Example:

div ! rowspan "bar" $ "Hello."

Result:

<div rowSpan="bar">Hello.</div>

rows Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the rows attribute.

Example:

div ! rows "bar" $ "Hello."

Result:

<div rows="bar">Hello.</div>

sandbox Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the sandbox attribute.

Example:

div ! sandbox "bar" $ "Hello."

Result:

<div sandbox="bar">Hello.</div>

scope Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the scope attribute.

Example:

div ! scope "bar" $ "Hello."

Result:

<div scope="bar">Hello.</div>

scrollleft Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the scrollLeft attribute.

Example:

div ! scrollleft "bar" $ "Hello."

Result:

<div scrollLeft="bar">Hello.</div>

scrolltop Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the scrollTop attribute.

Example:

div ! scrolltop "bar" $ "Hello."

Result:

<div scrollTop="bar">Hello.</div>

scrolling Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the scrolling attribute.

Example:

div ! scrolling "bar" $ "Hello."

Result:

<div scrolling="bar">Hello.</div>

seamless Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the seamless attribute.

Example:

div ! seamless "bar" $ "Hello."

Result:

<div seamless="bar">Hello.</div>

selected Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the selected attribute.

Example:

div ! selected "bar" $ "Hello."

Result:

<div selected="bar">Hello.</div>

shape Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the shape attribute.

Example:

div ! shape "bar" $ "Hello."

Result:

<div shape="bar">Hello.</div>

size Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the size attribute.

Example:

div ! size "bar" $ "Hello."

Result:

<div size="bar">Hello.</div>

span Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the span attribute.

Example:

div ! span "bar" $ "Hello."

Result:

<div span="bar">Hello.</div>

spellcheck Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the spellCheck attribute.

Example:

div ! spellcheck "bar" $ "Hello."

Result:

<div spellCheck="bar">Hello.</div>

src Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the src attribute.

Example:

div ! src "bar" $ "Hello."

Result:

<div src="bar">Hello.</div>

srcdoc Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the srcDoc attribute.

Example:

div ! srcdoc "bar" $ "Hello."

Result:

<div srcDoc="bar">Hello.</div>

srcset Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the srcSet attribute.

Example:

div ! srcset "bar" $ "Hello."

Result:

<div srcSet="bar">Hello.</div>

start Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the start attribute.

Example:

div ! start "bar" $ "Hello."

Result:

<div start="bar">Hello.</div>

step Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the step attribute.

Example:

div ! step "bar" $ "Hello."

Result:

<div step="bar">Hello.</div>

style Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the style attribute.

tabindex Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the tabIndex attribute.

Example:

div ! tabindex "bar" $ "Hello."

Result:

<div tabIndex="bar">Hello.</div>

target Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the target attribute.

Example:

div ! target "bar" $ "Hello."

Result:

<div target="bar">Hello.</div>

title Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the title attribute.

Example:

div ! title "bar" $ "Hello."

Result:

<div title="bar">Hello.</div>

type_ Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the type attribute.

Example:

div ! type_ "bar" $ "Hello."

Result:

<div type="bar">Hello.</div>

usemap Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the useMap attribute.

Example:

div ! usemap "bar" $ "Hello."

Result:

<div useMap="bar">Hello.</div>

value Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the value attribute.

Example:

div ! value "bar" $ "Hello."

Result:

<div value="bar">Hello.</div>

width Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the width attribute.

Example:

div ! width "bar" $ "Hello."

Result:

<div width="bar">Hello.</div>

wmode Source #

Arguments

:: AttributeValue

Attribute value.

-> Attribute ev

Resulting attribute.

Combinator for the wmode attribute.

Example:

div ! wmode "bar" $ "Hello."

Result:

<div wmode="bar">Hello.</div>