@@ -5,7 +5,7 @@ module Html exposing
5
5
, div, p, hr, pre, blockquote
6
6
, span, a, code, em, strong, i, b, u, sub, sup, br
7
7
, ol, ul, li, dl, dt, dd
8
- , img, iframe, canvas, math
8
+ , img, picture , iframe, canvas, math
9
9
, form, input, textarea, button, select, option
10
10
, section, nav, article, aside, header, footer, address, main_
11
11
, figure, figcaption
@@ -40,7 +40,7 @@ expect to use frequently will be closer to the top.
40
40
@docs ol, ul, li, dl, dt, dd
41
41
42
42
## Embedded Content
43
- @docs img, iframe, canvas, math
43
+ @docs img, picture, iframe, canvas, math
44
44
45
45
## Inputs
46
46
@docs form, input, textarea, button, select, option
@@ -590,6 +590,10 @@ img : List (Attribute msg) -> List (Html msg) -> Html msg
590
590
img =
591
591
Elm . Kernel . VirtualDom . node " img"
592
592
593
+ {- | Represents an image using one of many possible sources -}
594
+ picture : List (Attribute msg ) -> List (Html msg ) -> Html msg
595
+ picture =
596
+ Elm . Kernel . VirtualDom . node " picture"
593
597
594
598
{- | Embedded an HTML document. -}
595
599
iframe : List (Attribute msg ) -> List (Html msg ) -> Html msg
0 commit comments