We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8947b9 commit 5cdc107Copy full SHA for 5cdc107
docs/content/fsdocs-details-toggle.js
@@ -10,10 +10,7 @@ export class DetailsToggle extends LitElement {
10
constructor() {
11
super();
12
this._detailsExpanded = detailsExpanded;
13
- document.addEventListener('detailstoggled', e => {
14
- this._detailsExpanded = !!e?.detail?.expanding;
15
- this.render();
16
- });
+ document.addEventListener('detailstoggled', e => this._detailsExpanded = !!e?.detail?.expanding);
17
}
18
19
static styles = css`
0 commit comments