Explorar el Código

added menu element

Ian hace 3 años
padre
commit
149d484ffb
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      packages/html/src/elements.rs

+ 5 - 0
packages/html/src/elements.rs

@@ -428,6 +428,11 @@ builder_constructors! {
     /// element.
     mark {};
 
+    /// Build a
+    /// [`<menu>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu)
+    /// element.
+    menu {};
+
     /// Build a
     /// [`<q>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q)
     /// element.