Last active
May 9, 2021 14:14
-
-
Save ashwinkumar2438/84262a0652556e896108afd7f4f8ce79 to your computer and use it in GitHub Desktop.
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 characters
//In JS: | |
let myelem=new MyElement(); | |
document.body.append(myelem); | |
//In DOM: | |
//autonomous Custom Element: | |
let AutonomousComponent= ()=>(<my-element></my-element>); | |
//customised button Element: | |
let ButtonComponent=()=>(<button is='custom-button' > Special Button</button>) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment