Skip to content

Commit a4533bb

Browse files
committed
small documentation note
1 parent 221a109 commit a4533bb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/Element/Attributes.elm

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,10 @@ attribute name val =
671671
Attr <| Html.Attributes.attribute name val
672672

673673

674-
{-| Convert an existing `Html.Attribute` to an `Element.Attribute`
674+
{-| 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+
675678
-}
676679
toAttr : Html.Attribute msg -> Attribute variation msg
677680
toAttr =

0 commit comments

Comments
 (0)