From b55c22687977852088cc9c95b08123579bc50a53 Mon Sep 17 00:00:00 2001 From: Vse Mozhe Buty Date: Sat, 5 Dec 2020 23:29:14 +0200 Subject: [PATCH] Fix typo in 8.2 (Custom elements) --- 8-web-components/2-custom-elements/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/8-web-components/2-custom-elements/article.md b/8-web-components/2-custom-elements/article.md index 1cb74a7c..13af80b8 100644 --- a/8-web-components/2-custom-elements/article.md +++ b/8-web-components/2-custom-elements/article.md @@ -320,7 +320,7 @@ For example, buttons are instances of `HTMLButtonElement`, let's build upon it. class HelloButton extends HTMLButtonElement { /* custom element methods */ } ``` -2. Provide an third argument to `customElements.define`, that specifies the tag: +2. Provide the third argument to `customElements.define`, that specifies the tag: ```js customElements.define('hello-button', HelloButton, *!*{extends: 'button'}*/!*); ```