Skip to content

Commit

Permalink
Update elements.rs (#3379)
Browse files Browse the repository at this point in the history
fix: add missing `popovertarget` and `popovertargetaction` attributes for `<button>`
  • Loading branch information
Figments authored Dec 18, 2024
1 parent 1b8ad58 commit f9533ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tachys/src/html/element/elements.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ html_elements! {
/// The `<body>` HTML element represents the content of an HTML document. There can be only one `<body>` element in a document.
body HtmlBodyElement [] true,
/// The `<button>` HTML element represents a clickable button, used to submit forms or anywhere in a document for accessible, standard button functionality.
button HtmlButtonElement [disabled, form, formaction, formenctype, formmethod, formnovalidate, formtarget, name, r#type, value] true,
button HtmlButtonElement [disabled, form, formaction, formenctype, formmethod, formnovalidate, formtarget, name, r#type, value, popovertarget, popovertargetaction] true,
/// Use the HTML `<canvas>` element with either the canvas scripting API or the WebGL API to draw graphics and animations.
canvas HtmlCanvasElement [height, width] true,
/// The `<caption>` HTML element specifies the caption (or title) of a table.
Expand Down

0 comments on commit f9533ab

Please sign in to comment.