Skip to content

Commit

Permalink
Minor updates to comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
rictic committed Jan 31, 2024
1 parent 4b1b73f commit 6d6c25e
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ interface CustomElementRegistry {
interface CustomElementDefinition {
elementClass: CustomElementConstructor;
/**
* We hold onto the versions of callbacks at registration time, because that's the
* specc'd behavior.
* We hold onto the versions of callbacks at registration time, because
* that's the specc'd behavior.
*/
connectedCallback?: CustomHTMLElement['connectedCallback'];
disconnectedCallback?: CustomHTMLElement['disconnectedCallback'];
Expand All @@ -65,6 +65,11 @@ interface CustomElementDefinition {
formResetCallback?: CustomHTMLElement['formResetCallback'];
formStateRestoreCallback?: CustomHTMLElement['formStateRestoreCallback'];
observedAttributes: Set<string>;
/**
* The class that's registered on the global custom element registry for this
* element definition. Only present if this definition is registered on the
* global registry, though all definitions do have a standin.
*/
standInClass?: CustomElementConstructor;
}

Expand Down

0 comments on commit 6d6c25e

Please sign in to comment.