From 41ff07b965353a0f6a52a017d3a51ada952e08bd Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Sun, 2 Aug 2020 06:54:17 -0400 Subject: [PATCH] Add header part to details; fixes #150 --- src/components/details/details.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/details/details.tsx b/src/components/details/details.tsx index 78ed98c6..039187c7 100644 --- a/src/components/details/details.tsx +++ b/src/components/details/details.tsx @@ -11,6 +11,7 @@ let id = 0; * @slot summary - The details' summary. Alternatively, you can use the summary prop. * * @part base - The component's base wrapper. + * @part header - The summary header. * @part summary - The details summary. * @part summary-icon - The expand/collapse summary icon. * @part content - The details content. @@ -156,6 +157,7 @@ export class Details { >
(this.header = el)} + part="header" id={`${this.componentId}-header`} class="details__header" role="button"