[{"name":"Html.Picture","comment":"\n\n@docs picture\n\n","unions":[],"aliases":[],"values":[{"name":"picture","comment":" Create a [`picture`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/picture) tag. The attributes will be placed on the inner [`img`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/img) tag.\n","type":"List.List (Html.Attribute msg) -> { sources : List.List (Html.Source.Source kind), src : String.String, alt : Maybe.Maybe String.String } -> Html.Html msg"}],"binops":[]},{"name":"Html.Source","comment":"\n\n@docs Source\n\n\n# Building\n\n@docs single, Single, fromImagesAndWidths, WithWidths, fromImagesAndDensities, WithDensities\n\n\n# Properties\n\n@docs withSizes, withType, ImageType\n\n\n# Using\n\n@docs toHtml\n\n","unions":[{"name":"ImageType","comment":" Image types supported\n","args":[],"cases":[["APNG",[]],["AVIF",[]],["BMP",[]],["GIF",[]],["ICO",[]],["JPEG",[]],["JPEG_XL",[]],["PNG",[]],["SVG",[]],["TIFF",[]],["WebP",[]]]},{"name":"Single","comment":" A source comprised of a single image.\n","args":[],"cases":[]},{"name":"Source","comment":" A source set of images, used to build a [`source`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/source) tag.\n","args":["kind"],"cases":[]},{"name":"WithDensities","comment":" A source defined using densities (like `2x`).\n","args":[],"cases":[]},{"name":"WithWidths","comment":" A source defined using widths (like `300w`).\n","args":[],"cases":[]}],"aliases":[],"values":[{"name":"fromImagesAndDensities","comment":" Build a `Source` from a set of images with given densities.\n","type":"List.List { url : String.String, density : Maybe.Maybe Basics.Int } -> Html.Source.Source Html.Source.WithDensities"},{"name":"fromImagesAndWidths","comment":" Build a `Source` from a set of images with given widths.\n","type":"List.List { url : String.String, width : Maybe.Maybe Basics.Int } -> Html.Source.Source Html.Source.WithWidths"},{"name":"single","comment":" Build a `Source` from a single image.\n","type":"String.String -> Html.Source.Source Html.Source.Single"},{"name":"toHtml","comment":" Convert a `Source` to the corresponding [`source`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/source) html tag.\n\nEquivalent to `Html.source (Html.Source.toAttributes source) []`.\n\n","type":"Html.Source.Source kind -> Html.Html msg"},{"name":"withSizes","comment":" Set the [`sizes`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/source#sizes) attribute. The second argument is the (optional) default size.\n","type":"List.List ( Css.Media.Expression, Css.Value.Value Css.Length ) -> Maybe.Maybe (Css.Value.Value Css.Length) -> Html.Source.Source Html.Source.WithWidths -> Html.Source.Source Html.Source.WithWidths"},{"name":"withType","comment":" Set the [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/source#type) attribute.\n","type":"Html.Source.ImageType -> Html.Source.Source kind -> Html.Source.Source kind"}],"binops":[]}]