From 2e44d495769421423921bfcb06ebfc53f8370dd3 Mon Sep 17 00:00:00 2001 From: Ken Powers Date: Fri, 25 Oct 2024 14:34:35 -0400 Subject: Add web component elements and slot attribute (#235) The slot attribute is a standard attribute for use with web components: https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots--- html/attributes_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'html/attributes_test.go') diff --git a/html/attributes_test.go b/html/attributes_test.go index e5ea3f4..67b98f4 100644 --- a/html/attributes_test.go +++ b/html/attributes_test.go @@ -84,6 +84,7 @@ func TestSimpleAttributes(t *testing.T) { {Name: "role", Func: Role}, {Name: "rows", Func: Rows}, {Name: "rowspan", Func: RowSpan}, + {Name: "slot", Func: SlotAttr}, {Name: "src", Func: Src}, {Name: "srcset", Func: SrcSet}, {Name: "step", Func: Step}, -- cgit 1.4.1