Skip to content

Commit

Permalink
docs: add protected JSDoc annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Dec 19, 2024
1 parent 73a11a4 commit 9a7c9dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/card/src/vaadin-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ class Card extends ElementMixin(ThemableMixin(PolylitMixin(LitElement))) {
this.toggleAttribute('has-footer', this.querySelector(':scope > [slot="footer"]'));
}

/** @protected */
connectedCallback() {
super.connectedCallback();

Expand All @@ -349,6 +350,7 @@ class Card extends ElementMixin(ThemableMixin(PolylitMixin(LitElement))) {
}
}

/** @protected */
disconnectedCallback() {
if (this.__boundSlotChangeListener) {
this.shadowRoot.removeEventListener('slotchange', this.__boundSlotChangeListener);
Expand Down

0 comments on commit 9a7c9dc

Please sign in to comment.