Skip to content

Commit

Permalink
Hide custom element callbacks from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
iansan5653 authored Feb 23, 2024
1 parent 3ced1c4 commit e29ce62
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/custom-html-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,22 @@ export abstract class CustomHTMLElement extends HTMLElement {
* Called each time the element is added to the document. The specification
* recommends that, as far as possible, developers should implement custom
* element setup in this callback rather than the constructor.
* @private
*/
connectedCallback?(): void;
/** Called each time the element is removed from the document. */
/**
* Called each time the element is removed from the document.
* @private
*/
disconnectedCallback?(): void;
/** Called each time the element is moved to a new document. */
/**
* Called each time the element is moved to a new document.
* @private
*/
adoptedCallback?(): void;
/** Called when attributes are changed, added, removed, or replaced. */
/**
* Called when attributes are changed, added, removed, or replaced.
* @private
*/
attributeChangedCallback?(): void;
}

0 comments on commit e29ce62

Please sign in to comment.