Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: github.com/jaredramirez/html-styled-extra is gone (deleted or private); Software Heritage has not archived the repo; no fork with tag 1.0.0 found (3 same-name repos checked); no cached copy. Use another version.
This module contains types and values you can use to build up a list of
autocomplete tokens for form fields. Simple values like `On` or `Off` are
available, as well as more complex, nestable values: `Detailed <| Section "red"
<| Shipping <| Contact (Just Fax) Telephone`.
You'll probably want to import this module with an alias:
import Html.Styled exposing (input)
import Html.Styled.Attributes.Autocomplete as Autocomplete
import Html.Styled.Attributes.Extra exposing (autocomplete)
myShippingEmailInput =
input
[ autocomplete <|
Autocomplete.Detailed <|
Autocomplete.Shipping <|
Autocomplete.Contact Nothing <|
Autocomplete.Email
]
[]
Check out the [HTML Spec][spec] for more information about the `autocomplete`
attribute and the autocomplete detail tokens, such as their meaning, valid
controls, and inputformat.
[spec]: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill
Build the attribute value for a Completion.
The base type for detailed autocomplete attributes. Some of these are
simple, like Email, while some allow nesting of autocomplete tokens, like
Billing Email.
Build a list of autocomplete tokens for a DetailedCompletion.
The optional contact types a ContactCompletion can be tagged with.
Transform a ContactType into it's autocomplete detail token.
Autocomplete tokens with the ability to be tagged with a ContactType.
Transform a ContactCompletion into it's autocomplete detail token.
This is the generalized completion value. You explicitly toggle completion on or off, or use a more complex
DetailedCompletion.