Add header part to details; fixes #150

This commit is contained in:
Cory LaViska
2020-08-02 06:54:17 -04:00
parent b51871aca3
commit 41ff07b965

View File

@@ -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 {
>
<header
ref={el => (this.header = el)}
part="header"
id={`${this.componentId}-header`}
class="details__header"
role="button"