kopia lustrzana https://github.com/shoelace-style/shoelace
fix initial disabled state
rodzic
bf9e06e67d
commit
ccec9a8348
|
@ -44,7 +44,10 @@ export default class SlMutationObserver extends LitElement {
|
|||
this.handleMutation = this.handleMutation.bind(this);
|
||||
|
||||
this.mutationObserver = new MutationObserver(this.handleMutation);
|
||||
this.startObserver();
|
||||
|
||||
if (!this.disabled) {
|
||||
this.startObserver();
|
||||
}
|
||||
}
|
||||
|
||||
disconnectedCallback() {
|
||||
|
|
Ładowanie…
Reference in New Issue