Last active
January 15, 2023 22:43
-
-
Save ashwinkumar2438/f3e763757a78a2e5096c2d2e8eddd28b to your computer and use it in GitHub Desktop.
Revisions
-
ashwinkumar2438 revised this gist
May 9, 2021 . 1 changed file with 6 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,9 @@ //defining autonomous custom elements: if(!customElements.get('my-element')){ customElements.define('my-element',MyElement); } //defining customised button element: if(!customElements.get('custom-button')){ customElements.define('custom-button',CustomButton,{extends:'button'}) } -
ashwinkumar2438 created this gist
May 9, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ //defining autonomous custom elements: customElements.define('my-element',MyElement); //defining customised button element: customElements.define('custom-button',CustomButton,{extends:'button'})