Add missing HTML elements, attributes, custom element/attribute support, and docs#15
Merged
andymeierdev merged 1 commit intomainfrom Feb 9, 2026
Merged
Conversation
…rt, and docs - Add missing HTML elements: ruby, rt, rp, bdi, bdo, optgroup, menu, portal, style, base - Add event handler attributes: onclick, onchange, onsubmit, oninput, onfocus, onblur, onkeydown, onkeyup, and 38 more - Add missing attributes: integrity, nonce, decoding, fetchpriority, popover, popovertarget, inert, and more - Add missing ARIA attributes: aria-disabled, aria-selected, aria-checked, and 12 more - Add Html._attr for custom attributes (key-value and boolean) - Add Html.el and Html.elVoid for custom/web component elements - Reorganize attributes into logical groups - Add custom elements & attributes documentation page
🍹
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ruby,rt,rp,bdi,bdo,optgroup,menu,portal,style,baseonclick,onchange,onsubmit,oninput,onfocus,onblur,onkeydown,onkeyup,onkeypress,onmousedown/up/over/out/move/enter/leave,ondblclick,oncontextmenu,onscroll,onresize,onwheel,oncopy/cut/paste,ondrag/dragstart/dragend/dragover/dragenter/dragleave/drop,ontouchstart/move/end,onanimationstart/end/iteration,ontransitionend,onbeforeinput,onplay/pause/ended,onerror,onabort,ontoggle,onselect,onreset,oninvalid— all with[<LanguageInjection("javascript")>]for IDE supportintegrity,nonce,decoding,fetchpriority,usemap,ismap,coords,shape,kind,srclang,label,default,popover(string),popovertarget,popovertargetaction,inert,is,slot,part,high,low,optimum,dirnameitemscope,itemtype,itemprop,itemid,itemrefaria-disabled,aria-selected,aria-checked,aria-required,aria-invalid,aria-haspopup,aria-pressed,aria-valuenow/min/max/text,aria-atomic,aria-busy,aria-placeholder,aria-roledescriptionHtml._attr: custom attributes (key-value and boolean) for anything not covered by built-in helpersHtml.el/Html.elVoid: custom element builders for web components/customcovering custom elements, attributes, and extending theHtmltype