Lay Flags Posted on Jul 25, 2022 • Edited on Jul 25, 2022 Rolling Number Web Component #codepen #webcomponents #vanillajs Top comments (1) Subscribe Submit Preview Dismiss Collapse Expand Danny Engelman Danny Engelman Danny Engelman Follow Online since 1990 Yes! I started with Gopher. I do modern Web Component Development with technologies supported by **all** WHATWG partners (Apple, Google, Microsoft & Mozilla) Email danny@engelman.nl Location Amsterdam, the Netherlands Education TRS-80 Scriptkiddie '79+ 🎓 Computer Science '87 - '92 ❤️ Online since 1990 Pronouns Daniel/Dan Work I work on what I love, driven by curiosity and creativity—not financial necessity. Joined Oct 20, 2018 • Aug 12 '22 • Edited on Aug 12 • Edited Dropdown menu Copy link Hide constructor() { super(); const shadow = this.attachShadow({ mode: "open" }); shadow.innerHTML = Enter fullscreen mode Exit fullscreen mode can be written as: constructor() { super() // sets and returns 'this' scope .attachShadow({ mode: "open" }) // sets and return this.shadowRoot .innerHTML = Enter fullscreen mode Exit fullscreen mode Code of Conduct • Report abuse
Top comments (1)
can be written as: