Adds new nvQuickComponent Tabs that allows a developer to easily specify any number of tabs they want. This only uses javascript to build the tabs and after that it is all CSS. The declarative approach makes this faster and less error prone than javascript.
Once you declare the <nvq-tabs> markup element you just create <div> elements inside it for each tab. You will need to specify the following attributes or it will not work.
Attribute
Purpose
slot
this defines that the div is a tab and will be used in the javascript generation
key
The hashtag id in the browser for each tab, in th example about tab-1, tab-2 and tab-3
name
The name of the tab that will be printed on the screen
Adds new nvQuickComponent Tabs that allows a developer to easily specify any number of tabs they want. This only uses javascript to build the tabs and after that it is all CSS. The declarative approach makes this faster and less error prone than javascript.
Usage
Once you declare the
<nvq-tabs>
markup element you just create<div>
elements inside it for each tab. You will need to specify the following attributes or it will not work.tab-1
,tab-2
andtab-3
Fixes: #5