Merge branch 'upstream' into fix-hot-reloading

This commit is contained in:
Evan Almloff committed 2022-12-23 18:59:57 -06:00
commit 33c08b3d74
1 file changed
+3 -1
+3 -1
View File
@@ -36,6 +36,7 @@ macro_rules! trait_method_mapping {
macro_rules! trait_methods { macro_rules! trait_methods {
( (
@base @base
$(#[$trait_attr:meta])*
$trait:ident; $trait:ident;
$fn:ident; $fn:ident;
$( $(
@@ -43,6 +44,7 @@ macro_rules! trait_methods {
$name:ident $(: $($arg:literal),*)*; $name:ident $(: $($arg:literal),*)*;
)+ )+
) => { ) => {
$(#[$trait_attr])*
pub trait $trait { pub trait $trait {
$( $(
$(#[$attr])* $(#[$attr])*
@@ -1595,7 +1597,6 @@ trait_methods! {
/// <https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault> /// <https://developer.mozilla.org/en-US/docs/Web/API/Event/preventDefault>
prevent_default: "dioxus-prevent-default"; prevent_default: "dioxus-prevent-default";
/// <https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/accent-height> /// <https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/accent-height>
accent_height: "accent-height"; accent_height: "accent-height";
@@ -2342,4 +2343,5 @@ trait_methods! {
/// <https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/zoomAndPan> /// <https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/zoomAndPan>
zoomAndPan: "zoomAndPan"; zoomAndPan: "zoomAndPan";
} }