pub use crate::html;
dioxus_html_internal_macro::define_elements! {
core = dioxus_core,
html = crate,
hot_reload_context = true;
base {
href,
target,
}
head {}
link {
crossorigin,
href,
hreflang,
media, rel,
sizes, title, #[attr(name = "type")]
r#type,
integrity,
disabled,
referrerpolicy,
fetchpriority,
blocking,
#[attr(name = "as")]
r#as,
}
meta {
charset, content,
#[attr(name = "http-equiv")]
http_equiv,
name,
property,
}
style {
#[attr(name = "type")]
r#type,
media, nonce,
title, }
title {}
body {}
address {}
article {}
aside {}
footer {}
header {}
hgroup {}
h1 {}
h2 {}
h3 {}
h4 {}
h5 {}
h6 {}
main {}
nav {}
section {}
blockquote {
cite,
}
dd {}
div {}
dl {}
dt {}
figcaption {}
figure {}
hr {}
li {
value,
}
ol {
reversed,
start,
#[attr(name = "type")]
r#type,
}
p {}
pre {}
ul {}
a {
download,
href,
hreflang,
target,
#[attr(name = "type")]
r#type,
ping,
rel,
}
abbr {}
b {}
bdi {}
bdo {}
br {}
cite {}
code {
language,
}
data {
value,
}
dfn {}
em {}
i {}
kbd {}
mark {}
menu {}
q {
cite,
}
rp {}
rt {}
ruby {}
s {}
samp {}
small {}
span {}
strong {}
sub {}
sup {}
time {
datetime,
}
u {}
var {}
wbr {}
area {
alt,
coords, download,
href,
hreflang,
shape,
target,
}
audio {
autoplay,
controls,
crossorigin,
muted,
preload,
src,
#[attr(name = "loop")]
r#loop,
}
img {
alt,
crossorigin,
decoding,
height,
ismap,
loading,
src,
srcset, usemap, width,
referrerpolicy,
sizes, elementtiming,
fetchpriority,
attributionsrc,
}
map {
name,
}
track {
default,
kind,
label,
src,
srclang,
}
video {
autoplay,
controls,
crossorigin,
height,
#[attr(name = "loop")]
r#loop,
muted,
preload,
playsinline,
poster,
src,
width,
}
embed {
height,
src,
#[attr(name = "type")]
r#type,
width,
}
iframe {
allow,
allowfullscreen,
allowpaymentrequest,
height,
name,
referrerpolicy,
src,
srcdoc,
width,
#[attr(name = "marginWidth")]
margin_width,
align,
longdesc,
scrolling,
#[attr(name = "marginHeight")]
margin_height,
#[attr(name = "frameBorder")]
frame_border,
}
object {
data,
form,
height,
name,
#[attr(name = "type")]
r#type,
typemustmatch,
usemap, width,
}
param {
name,
value,
}
picture {}
source {
src,
#[attr(name = "type")]
r#type,
srcset,
media,
sizes,
width,
height,
}
canvas {
height,
width,
}
noscript {}
script {
crossorigin,
defer,
integrity,
nomodule,
nonce,
src,
text,
fetchpriority,
referrerpolicy,
#[attr(name = "async")]
r#async,
#[attr(name = "type")]
r#type, #[attr(name = "script")]
r#script,
}
del {
cite,
datetime,
}
ins {
cite,
datetime,
}
caption {}
col {
span,
}
colgroup {
span,
}
table {}
tbody {}
td {
colspan,
rowspan,
}
tfoot {}
th {
abbr,
colspan,
rowspan,
scope,
}
thead {}
tr {}
button {
autofocus,
disabled,
form,
formaction,
formenctype,
formmethod,
formnovalidate,
formtarget,
name,
popovertarget,
popovertargetaction,
value,
#[attr(name = "type")]
r#type,
}
datalist {}
fieldset {
disabled,
form,
name,
}
form {
action,
autocomplete,
enctype,
method,
name,
novalidate,
target,
}
input {
accept,
alt,
autocomplete,
autocorrect,
autofocus,
capture,
checked,
#[attr(name = "webkitdirectory")]
directory,
disabled,
form,
formaction,
formenctype,
formmethod,
formnovalidate,
formtarget,
height,
initial_checked,
list,
max,
maxlength,
min,
minlength,
multiple,
name,
pattern,
popovertarget,
popovertargetaction,
placeholder,
readonly,
required,
size,
spellcheck,
src,
step,
tabindex,
width,
#[attr(name = "type")]
r#type,
#[attr(volatile)]
value,
initial_value,
}
label {
form,
#[attr(name = "for")]
r#for,
}
legend {}
meter {
value,
min,
max,
low,
high,
optimum,
form,
}
optgroup {
disabled,
label,
}
option {
disabled,
label,
value,
#[attr(volatile)]
selected,
initial_selected,
}
output {
form,
name,
}
progress {
max,
value,
}
select {
autocomplete,
autofocus,
disabled,
form,
multiple,
name,
required,
size,
#[attr(volatile)]
value,
}
textarea {
autocomplete,
autocorrect,
autofocus,
cols,
disabled,
form,
maxlength,
minlength,
name,
placeholder,
readonly,
required,
rows,
spellcheck,
wrap,
#[attr(volatile)]
value,
initial_value,
}
details {
open,
}
dialog {
open,
}
summary {}
slot {
name,
}
template {}
#[element(namespace = "http://www.w3.org/2000/svg")]
svg {}
#[element(namespace = "http://www.w3.org/2000/svg")]
animate {}
#[element(namespace = "http://www.w3.org/2000/svg")]
animateMotion {}
#[element(namespace = "http://www.w3.org/2000/svg")]
animateTransform {}
#[element(namespace = "http://www.w3.org/2000/svg")]
circle {}
#[element(namespace = "http://www.w3.org/2000/svg")]
clipPath {}
#[element(namespace = "http://www.w3.org/2000/svg")]
defs {}
#[element(namespace = "http://www.w3.org/2000/svg")]
desc {}
#[element(namespace = "http://www.w3.org/2000/svg")]
discard {}
#[element(namespace = "http://www.w3.org/2000/svg")]
ellipse {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feBlend {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feColorMatrix {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feComponentTransfer {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feComposite {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feConvolveMatrix {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feDiffuseLighting {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feDisplacementMap {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feDistantLight {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feDropShadow {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feFlood {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feFuncA {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feFuncB {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feFuncG {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feFuncR {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feGaussianBlur {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feImage {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feMerge {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feMergeNode {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feMorphology {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feOffset {}
#[element(namespace = "http://www.w3.org/2000/svg")]
fePointLight {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feSpecularLighting {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feSpotLight {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feTile {}
#[element(namespace = "http://www.w3.org/2000/svg")]
feTurbulence {}
#[element(namespace = "http://www.w3.org/2000/svg")]
filter {}
#[element(namespace = "http://www.w3.org/2000/svg")]
foreignObject {}
#[element(namespace = "http://www.w3.org/2000/svg")]
g {}
#[element(namespace = "http://www.w3.org/2000/svg")]
hatch {}
#[element(namespace = "http://www.w3.org/2000/svg")]
hatchpath {}
#[element(namespace = "http://www.w3.org/2000/svg")]
image {}
#[element(namespace = "http://www.w3.org/2000/svg")]
line {}
#[element(namespace = "http://www.w3.org/2000/svg")]
linearGradient {}
#[element(namespace = "http://www.w3.org/2000/svg")]
marker {}
#[element(namespace = "http://www.w3.org/2000/svg")]
mask {}
#[element(namespace = "http://www.w3.org/2000/svg")]
metadata {}
#[element(namespace = "http://www.w3.org/2000/svg")]
mpath {}
#[element(namespace = "http://www.w3.org/2000/svg")]
path {}
#[element(namespace = "http://www.w3.org/2000/svg")]
pattern {}
#[element(namespace = "http://www.w3.org/2000/svg")]
polygon {}
#[element(namespace = "http://www.w3.org/2000/svg")]
polyline {}
#[element(namespace = "http://www.w3.org/2000/svg")]
radialGradient {}
#[element(namespace = "http://www.w3.org/2000/svg")]
rect {}
#[element(namespace = "http://www.w3.org/2000/svg")]
set {}
#[element(namespace = "http://www.w3.org/2000/svg")]
stop {}
#[element(namespace = "http://www.w3.org/2000/svg")]
switch {}
#[element(namespace = "http://www.w3.org/2000/svg")]
symbol {}
#[element(namespace = "http://www.w3.org/2000/svg")]
text {}
#[element(namespace = "http://www.w3.org/2000/svg")]
textPath {}
#[element(namespace = "http://www.w3.org/2000/svg")]
tspan {}
#[element(namespace = "http://www.w3.org/2000/svg")]
view {}
#[element(name = "use", namespace = "http://www.w3.org/2000/svg")]
r#use {
href,
}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
annotation {
encoding,
}
#[element(name = "annotation-xml", namespace = "http://www.w3.org/1998/Math/MathML")]
annotationXml {
encoding,
}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
merror {}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
math {
display,
}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
mfrac {
linethickness,
}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
mi {
mathvariant,
}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
mmultiscripts {}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
mn {}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
mo {
fence,
largeop,
lspace,
maxsize,
minsize,
movablelimits,
rspace,
separator,
stretchy,
symmetric,
}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
mover {
accent,
}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
mpadded {
depth,
height,
lspace,
voffset,
width,
}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
mphantom {}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
mprescripts {}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
mroot {}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
mrow {
}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
ms {
lquote,
rquote,
}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
mspace {
depth,
height,
width,
}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
msqrt {}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
mstyle {}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
msub {}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
msubsup {}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
msup {}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
mtable {}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
mtd {
columnspan,
rowspan,
}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
mtext {}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
mtr {}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
munder {
accentunder,
}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
munderover {
accent,
accentunder,
}
#[element(namespace = "http://www.w3.org/1998/Math/MathML")]
semantics {
encoding,
}
}