Add header part to details; fixes #150

pull/157/head
Cory LaViska 2020-08-02 06:54:17 -04:00
rodzic b51871aca3
commit 41ff07b965
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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"