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: exportrecord 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 exportaAttributes : 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 exportareaAttributes : 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 exportaudioAttributes : 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 exportbaseAttributes : 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 exportcitationAttributes : 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 exportbuttonAttributes : 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 exportcanvasAttributes : 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 exportchangeAttributes : 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 exportcolAttributes : 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 exportdetailsAttributes : 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 exportdialogAttributes : 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 exportembedAttributes : 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 exportfieldsetAttributes : 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 exportformAttributes : 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 exportglobalAttributes : 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 exportiframeAttributes : 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 exportlabelAttributes : 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 exportlinkAttributes : 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