Skip to content

Commit

Permalink
Update component.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ochairo authored Apr 5, 2024
1 parent 88f0a16 commit e0b5976
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/packages/vanillatte-core/component.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default class VltComponent extends HTMLElement {
/** [BaseComponent] Shadow root of the element */
/** [vanillatte:core] Shadow root of the element */
protected _dom: ShadowRoot;

constructor() {
Expand Down Expand Up @@ -28,17 +28,17 @@ export default class VltComponent extends HTMLElement {
}

/**
* [BaseComponent] onInit: Called when the element is connected to the DOM
* [vanillatte:core] onInit: Called when the element is connected to the DOM
*/
protected onInit() {}

/**
* [BaseComponent] onDestroy: Called when the element is disconnected from the DOM
* [vanillatte:core] onDestroy: Called when the element is disconnected from the DOM
*/
protected onDestroy() {}

/**
* [BaseComponent] onAttributeChanged: Called when an attribute is changed
* [vanillatte:core] onAttributeChanged: Called when an attribute is changed
*/
protected onAttributeChanged(
// eslint-disable-next-line @typescript-eslint/no-unused-vars
Expand All @@ -50,7 +50,7 @@ export default class VltComponent extends HTMLElement {
) {}

/**
* [BaseComponent] setupMutationObserver: Sets up a MutationObserver to detect changes in the DOM
* [vanillatte:core] setupMutationObserver: Sets up a MutationObserver to detect changes in the DOM
*/
protected setupMutationObserver() {
const observer = new MutationObserver((mutations) => {
Expand Down

0 comments on commit e0b5976

Please sign in to comment.