Skip to content

Commit

Permalink
[sc-38184] Adds legend element
Browse files Browse the repository at this point in the history
  • Loading branch information
14to9 committed Aug 4, 2024
1 parent 0c1cf8c commit fa80cc9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DOM/Erumu/HTML.purs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ module DOM.Erumu.HTML
) where

import DOM.Erumu.HTML.Attributes (action, alt, ariaControls, ariaOrientation, ariaExpanded, ariaHaspopup, ariaHidden, ariaLabelledby, ariaModal, autocomplete, autofocus, cRadius, checked, classN_, class_, classes, clipRule, colSpan, cxCoord, cyCoord, data_, defaultValue, defer, dims, disabled, enctype, fill, fillRule, fontFamily, fontSize, for, gradientUnits, height, href, id_, method, name, noop, offset, placeholder, points, role, rows, rx, selected, spellcheck, src, stroke, strokeLinecap, strokeLinejoin, strokeWidth, style, tabindex, target, title, transform, type_, value, viewBox, width, x1Coord, x2Coord, xCoord, xmlns, y1Coord, y2Coord, yCoord) as Attributes
import DOM.Erumu.HTML.Elements (ElementFn, a, address, aside, br, button, circle, code, dd, div_, dl, dt, em, embed, fieldset, footer, form, graphic, h1, h2, h3,h4, h5, header, hr, i, iframe, img, input, label, li, line, linearGradient, main, nav, noscript, object, ol, option, p, path, polygon, rect, script, section, select, span, stop, strong, svg, table, tbody, td, text, textArea, th, thead, time, tr, ul) as Elements
import DOM.Erumu.HTML.Elements (ElementFn, a, address, aside, br, button, circle, code, dd, div_, dl, dt, em, embed, fieldset, footer, form, graphic, h1, h2, h3,h4, h5, header, hr, i, iframe, img, input, label, legend, li, line, linearGradient, main, nav, noscript, object, ol, option, p, path, polygon, rect, script, section, select, span, stop, strong, svg, table, tbody, td, text, textArea, th, thead, time, tr, ul) as Elements
import DOM.Erumu.HTML.Events (clickawayfn, onblur, onclick, onfocus, oninput, onmouseenter, onmouseleave, terminalOnclick) as Events
5 changes: 4 additions & 1 deletion src/DOM/Erumu/HTML/Elements.purs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module DOM.Erumu.HTML.Elements
, iframe, object, embed
, img

, nav, main, header, aside
, nav, main, header, aside, legend

, label, form, input, textArea, select, option, button, time, em, fieldset

Expand Down Expand Up @@ -52,6 +52,9 @@ header = element "header"
aside :: forall msg. ElementFn msg
aside = element "aside"

legend :: forall msg. ElementFn msg
legend = element "legend"

span :: forall msg. ElementFn msg
span = element "span"

Expand Down

0 comments on commit fa80cc9

Please sign in to comment.