We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 221a109 commit a4533bbCopy full SHA for a4533bb
1 file changed
src/Element/Attributes.elm
@@ -671,7 +671,10 @@ attribute name val =
671
Attr <| Html.Attributes.attribute name val
672
673
674
-{-| Convert an existing `Html.Attribute` to an `Element.Attribute`
+{-| Convert an existing `Html.Attribute` to an `Element.Attribute`.
675
+
676
+This is useful for working with any library that returns a `Html.Attribute`.
677
678
-}
679
toAttr : Html.Attribute msg -> Attribute variation msg
680
toAttr =
0 commit comments