choonkeat/html-data/1.0.0

NOTE: the latest version is 4.0.0

HtmlData.Attributes

Types to build values to represent Html

The types are intentionally fully exposed. The helper functions exists merely to make writing them feel like elm/html et al

https://package.elm-lang.org/packages/elm/html/latest/Html-Attributes

type Attribute msg
= Attribute String String
| NoAttribute

We really don't need the type variable msg here, but wondering if this makes swapping out import against existing code more possible

accept : String -> Attribute msg

see documentation on elm/html

acceptCharset : String -> Attribute msg

see documentation on elm/html

accesskey : Char -> Attribute msg

see documentation on elm/html

action : String -> Attribute msg

see documentation on elm/html

align : String -> Attribute msg

see documentation on elm/html

alt : String -> Attribute msg

see documentation on elm/html

attribute : String -> String -> Attribute msg

see documentation on elm/html

autocomplete : Bool -> Attribute msg

see documentation on elm/html

autofocus : Bool -> Attribute msg

see documentation on elm/html

autoplay : Bool -> Attribute msg

see documentation on elm/html

checked : Bool -> Attribute msg

see documentation on elm/html

cite : String -> Attribute msg

see documentation on elm/html

class : String -> Attribute msg

see documentation on elm/html

classList : List ( String, Bool ) -> Attribute msg

see documentation on elm/html

cols : Int -> Attribute msg

see documentation on elm/html

colspan : Int -> Attribute msg

see documentation on elm/html

see documentation on elm/html

contextmenu : String -> Attribute msg

see documentation on elm/html

controls : Bool -> Attribute msg

see documentation on elm/html

coords : String -> Attribute msg

see documentation on elm/html

datetime : String -> Attribute msg

see documentation on elm/html

default : Bool -> Attribute msg

see documentation on elm/html

dir : String -> Attribute msg

see documentation on elm/html

disabled : Bool -> Attribute msg

see documentation on elm/html

download : String -> Attribute msg

see documentation on elm/html

draggable : String -> Attribute msg

see documentation on elm/html

dropzone : String -> Attribute msg

see documentation on elm/html

enctype : String -> Attribute msg

see documentation on elm/html

for : String -> Attribute msg

see documentation on elm/html

form : String -> Attribute msg

see documentation on elm/html

headers : String -> Attribute msg

see documentation on elm/html

height : Int -> Attribute msg

see documentation on elm/html

hidden : Bool -> Attribute msg

see documentation on elm/html

href : String -> Attribute msg

see documentation on elm/html

hreflang : String -> Attribute msg

see documentation on elm/html

id : String -> Attribute msg

see documentation on elm/html

ismap : Bool -> Attribute msg

see documentation on elm/html

itemprop : String -> Attribute msg

see documentation on elm/html

kind : String -> Attribute msg

see documentation on elm/html

lang : String -> Attribute msg

see documentation on elm/html

list : String -> Attribute msg

see documentation on elm/html

loop : Bool -> Attribute msg

see documentation on elm/html

manifest : String -> Attribute msg

see documentation on elm/html

map : (a -> msg) -> Attribute a -> Attribute msg

see documentation on elm/html

max : String -> Attribute msg

see documentation on elm/html

maxlength : Int -> Attribute msg

see documentation on elm/html

media : String -> Attribute msg

see documentation on elm/html

method : String -> Attribute msg

see documentation on elm/html

min : String -> Attribute msg

see documentation on elm/html

minlength : Int -> Attribute msg

see documentation on elm/html

multiple : Bool -> Attribute msg

see documentation on elm/html

name : String -> Attribute msg

see documentation on elm/html

novalidate : Bool -> Attribute msg

see documentation on elm/html

pattern : String -> Attribute msg

see documentation on elm/html

ping : String -> Attribute msg

see documentation on elm/html

placeholder : String -> Attribute msg

see documentation on elm/html

poster : String -> Attribute msg

see documentation on elm/html

preload : String -> Attribute msg

see documentation on elm/html

pubdate : String -> Attribute msg

see documentation on elm/html

readonly : Bool -> Attribute msg

see documentation on elm/html

rel : String -> Attribute msg

see documentation on elm/html

required : Bool -> Attribute msg

see documentation on elm/html

reversed : Bool -> Attribute msg

see documentation on elm/html

rows : Int -> Attribute msg

see documentation on elm/html

rowspan : Int -> Attribute msg

see documentation on elm/html

sandbox : String -> Attribute msg

see documentation on elm/html

scope : String -> Attribute msg

see documentation on elm/html

selected : Bool -> Attribute msg

see documentation on elm/html

shape : String -> Attribute msg

see documentation on elm/html

size : Int -> Attribute msg

see documentation on elm/html

spellcheck : Bool -> Attribute msg

see documentation on elm/html

src : String -> Attribute msg

see documentation on elm/html

srcdoc : String -> Attribute msg

see documentation on elm/html

srclang : String -> Attribute msg

see documentation on elm/html

start : Int -> Attribute msg

see documentation on elm/html

step : String -> Attribute msg

see documentation on elm/html

style : String -> String -> Attribute msg

see documentation on elm/html

tabindex : Int -> Attribute msg

see documentation on elm/html

target : String -> Attribute msg

see documentation on elm/html

title : String -> Attribute msg

see documentation on elm/html

type_ : String -> Attribute msg

see documentation on elm/html

usemap : String -> Attribute msg

see documentation on elm/html

value : String -> Attribute msg

see documentation on elm/html

width : Int -> Attribute msg

see documentation on elm/html

wrap : String -> Attribute msg

see documentation on elm/html