From c681b805b736891a4a32ba3ee1c2a0e22550930d Mon Sep 17 00:00:00 2001 From: Johann-Goncalves-Pereira Date: Fri, 19 Aug 2022 18:34:10 -0300 Subject: [PATCH] feat: add resent full supported tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog --- src/Html.elm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Html.elm b/src/Html.elm index 70b8645..9e75cfb 100644 --- a/src/Html.elm +++ b/src/Html.elm @@ -6,7 +6,7 @@ module Html exposing , span, a, code, em, strong, i, b, u, sub, sup, br , ol, ul, li, dl, dt, dd , img, iframe, canvas, math - , form, input, textarea, button, select, option + , form, input, textarea, button, select, option, dialog , section, nav, article, aside, header, footer, address, main_ , figure, figcaption , table, caption, colgroup, col, tbody, thead, tfoot, tr, td, th @@ -843,3 +843,9 @@ menu : List (Attribute msg) -> List (Html msg) -> Html msg menu = Elm.Kernel.VirtualDom.node "menu" + +{-| Represents a dialog box or other interactive component, +such as a dismissible alert, inspector, or subwindow. -} +dialog : List (Attribute msg) -> List (Html msg) -> Html msg +dialog = + Elm.Kernel.VirtualDom.node "dialog"