Lay Flags Posted on Jul 25, 2022 Rolling Number Web Component #codepen #webcomponents #vanillajs Top comments (1) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. 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 Work I guide people with PTSD, Autism, or general burnout towards a career in web development 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 Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
can be written as: