Skip to content

Instantly share code, notes, and snippets.

@Andy-set-studio
Created January 31, 2020 11:23
Show Gist options
  • Save Andy-set-studio/ead7349b85fb64b80f023c16a6fbc6f7 to your computer and use it in GitHub Desktop.
Save Andy-set-studio/ead7349b85fb64b80f023c16a6fbc6f7 to your computer and use it in GitHub Desktop.
Tweet text
The <tabs-group> element
You might be thinking “what the heck is that”? This is a custom element that we’ve yet to declare. This is what will be our web component that magically creates our tabs from existing HTML.
This capability is what I absolutely love about custom elements, because it just works, even though I haven’t defined it yet, thanks to the forgiving, declarative nature of HTML. What a fantastic language, right?
For now and until this is defined, it essentially operates as a <div>. Lovely stuff.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment