fix: Add missing name attribute for <slot> (#2494)

Fix #2493
This commit is contained in:
igor authored and GitHub committed 2024-06-10 07:21:16 -05:00
1 parent d6fc5dc5bd
commit ae95e74b80
1 file changed
+3 -1
+3 -1
View File
@@ -1600,7 +1600,9 @@ builder_constructors! {
/// Build a
/// [`<slot>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot)
/// element.
slot None {};
slot None {
name: String DEFAULT,
};
/// Build a
/// [`<template>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template)