Idris2Doc : Text.Html.Attributes.Types

Text.Html.Attributes.Types

(source)
Note: only currently valid attributes as per [MDN website][1] are listed.
Experimental or deprecated attributes are on purpose not available.

[1]: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements

Definitions

data EscapedValue : Type
  Escaped attribute value.

The constructor is not exported. Escaped attribute values can only be
created using the `escape` function.

Totality: total
Visibility: export
Constructor: 
Escaped : String -> EscapedValue

Hints:
Eq EscapedValue
Show EscapedValue
escape : String -> EscapedValue
  Escapes a string for use as an attribute value.

The following characters are escaped: '"', '\'', '&' and '<'.
This function is the only way to construct an `EscapedValue` as the
`EscapedValue` constructor is kept private.

Totality: total
Visibility: export
record Attribute : Type
  HTML element attribute.

Totality: total
Visibility: public export
Constructor: 
MkAttribute : Name -> Maybe EscapedValue -> Attribute

Projections:
.name : Attribute -> Name
.value : Attribute -> Maybe EscapedValue

Hints:
Eq Attribute
Show Attribute
.name : Attribute -> Name
Totality: total
Visibility: public export
name : Attribute -> Name
Totality: total
Visibility: public export
.value : Attribute -> Maybe EscapedValue
Totality: total
Visibility: public export
value : Attribute -> Maybe EscapedValue
Totality: total
Visibility: public export
attributesNames : List Attribute -> List String
  List the attributes' names

The names are provided as a standard `List` for simplicity.
Nevertheless, the list will not have any duplicate value as it derives
from a `FreshList`.

Totality: total
Visibility: public export
aAttributes : List String
  Attributes for a **a** element as per [MDN list][1].

[1]: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/a

Totality: total
Visibility: public export
areaAttributes : List String
  Attributes for an **area** element as per [MDN list][1].

[1]: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/area

Totality: total
Visibility: public export
audioAttributes : List String
  Attributes for an **audio** element as per [MDN list][1].

[1]: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/audio

Totality: total
Visibility: public export
baseAttributes : List String
  Attributes for a **base** element as per [MDN list][1].

[1]: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/base

Totality: total
Visibility: public export
citationAttributes : List String
  Attributes for a **blockquote** or **q** element as per [MDN list][1].

[1]: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/blockquote

Totality: total
Visibility: public export
buttonAttributes : List String
  Attributes for a **button** element as per [MDN list][1].

[1]: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/button

Totality: total
Visibility: public export
canvasAttributes : List String
  Attributes for a **canvas** element as per [MDN list][1].

[1]: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/canvas

Totality: total
Visibility: public export
changeAttributes : List String
  Attributes for a [**del**][1] or [**ins**][2] element.

[1]: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/del
[2]: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/ins

Totality: total
Visibility: public export
colAttributes : List String
  Attributes for a **col** element as per [MDN list][1].

[1]: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/col

Totality: total
Visibility: public export
detailsAttributes : List String
  Attributes for a **details** element as per [MDN list][1].

[1]: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/details

Totality: total
Visibility: public export
dialogAttributes : List String
  Attributes for a **dialgo** element as per [MDN list][1].

[1]: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/dialog

Totality: total
Visibility: public export
embedAttributes : List String
  Attributes for a **embed** element as per [MDN list][1].

[1]: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/embed

Totality: total
Visibility: public export
fieldsetAttributes : List String
  Attributes for a **fieldset** element as per [MDN list][1].

[1]: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/fieldset

Totality: total
Visibility: public export
formAttributes : List String
  Attributes for a **form** element as per [MDN list][1].

[1]: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/form

Totality: total
Visibility: public export
globalAttributes : List String
  Global HTML attributes as per [MDN list][1].

Note: the experimental attributes are not included.
Also, the event attributes are not included as their use is discouraged as
per [MDN recommendations][1].

[1]: https://developer.mozilla.org/docs/Web/HTML/Reference/Global_attributes

Totality: total
Visibility: public export
iframeAttributes : List String
Totality: total
Visibility: public export
imgAttributes : List String
Totality: total
Visibility: public export
inputAttributes : List String
  List of attributes for the **input** element.

Note: some attributes specific to a given type of input could be missing.

Totality: total
Visibility: public export
labelAttributes : List String
  Attributes for a **label** element as per [MDN list][1].

[1]: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/label

Totality: total
Visibility: public export
linkAttributes : List String
Totality: total
Visibility: public export
metaAttributes : List String
Totality: total
Visibility: public export
mapAttributes : List String
Totality: total
Visibility: public export
meterAttributes : List String
Totality: total
Visibility: public export
objectAttributes : List String
Totality: total
Visibility: public export
olAttributes : List String
Totality: total
Visibility: public export
optgroupAttributes : List String
Totality: total
Visibility: public export
optionAttributes : List String
Totality: total
Visibility: public export
outputAttributes : List String
Totality: total
Visibility: public export
progressAttributes : List String
Totality: total
Visibility: public export
scriptAttributes : List String
Totality: total
Visibility: public export
selectAttributes : List String
Totality: total
Visibility: public export
slotAttributes : List String
Totality: total
Visibility: public export
sourceAttributes : List String
Totality: total
Visibility: public export
styleAttributes : List String
Totality: total
Visibility: public export
tdAttributes : List String
Totality: total
Visibility: public export
templateAttributes : List String
Totality: total
Visibility: public export
textareaAttributes : List String
Totality: total
Visibility: public export
thAttributes : List String
Totality: total
Visibility: public export
timeAttributes : List String
Totality: total
Visibility: public export
trackAttributes : List String
Totality: total
Visibility: public export
videoAttributes : List String
Totality: total
Visibility: public export