From de7a9a3b93d286bcb259aa26147b237faf24b0c6 Mon Sep 17 00:00:00 2001 From: Sonu Kapoor Date: Sat, 14 Mar 2020 15:10:15 -0400 Subject: [PATCH] docs: place download section to the top of the page (#36067) Previously, the download link to the example for the angular element guide was in the middle of the page. To make it easier for the user to find the download link, it has been placed to the top of the page. This commit partially addresses #35459 PR Close #36067 --- aio/content/guide/elements.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/aio/content/guide/elements.md b/aio/content/guide/elements.md index 0c409a9085..f5875823c4 100644 --- a/aio/content/guide/elements.md +++ b/aio/content/guide/elements.md @@ -2,6 +2,12 @@ _Angular elements_ are Angular components packaged as _custom elements_ (also called Web Components), a web standard for defining new HTML elements in a framework-agnostic way. +
+ + For the sample app that this page describes, see the . + +
+ [Custom elements](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements) are a Web Platform feature currently supported by Chrome, Edge (Chromium-based), Firefox, Opera, and Safari, and available in other browsers through polyfills (see [Browser Support](#browser-support)). A custom element extends HTML by allowing you to define a tag whose content is created and controlled by JavaScript code. The browser maintains a `CustomElementRegistry` of defined custom elements, which maps an instantiable JavaScript class to an HTML tag. @@ -153,12 +159,6 @@ For comparison, the demo shows both methods. One button adds the popup using the - -You can download the full code for the example here. - ## Typings for custom elements