Skip to content

Commit

Permalink
Update declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
turansky committed Jul 11, 2023
1 parent 4691d14 commit 60c3e6d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ sealed external class CustomElementRegistry {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/get) */
operator fun get(name: String): CustomElementConstructor?

/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName) */
fun getName(constructor: CustomElementConstructor): String?

/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/upgrade) */
fun upgrade(root: Node)

Expand Down

0 comments on commit 60c3e6d

Please sign in to comment.