From 73fcf4704770f81050680911a99067cb4bd99182 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Tue, 26 Jan 2021 12:58:11 +0200 Subject: [PATCH] docs(elements): add MDN links for mentioned built-in APIs in Elements guide (#40510) PR Close #40510 --- aio/content/guide/elements.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/aio/content/guide/elements.md b/aio/content/guide/elements.md index ff9a9ea946..3b0ffa253e 100644 --- a/aio/content/guide/elements.md +++ b/aio/content/guide/elements.md @@ -64,8 +64,7 @@ create and destroy instances, and to detect and respond to changes. The conversion process implements the `NgElementConstructor` interface, and creates a constructor class that is configured to produce a self-bootstrapping instance of your component. -Use a JavaScript function, `customElements.define()`, to register the configured constructor -and its associated custom-element tag with the browser's `CustomElementRegistry`. +Use the built-in [`customElements.define()`](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define) function to register the configured constructor and its associated custom-element tag with the browser's [`CustomElementRegistry`](https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry). When the browser encounters the tag for the registered element, it uses the constructor to create a custom-element instance.