Reverting, don't like the new docs.
This commit is contained in:
		@@ -9,7 +9,7 @@ import { IgniteTemplate, slot, div, html } from "../ignite-html/ignite-template.
 | 
			
		||||
 * @param {Boolean} active Whether or not this tab is active by default.
 | 
			
		||||
 * @returns {IgniteTemplate} This ignite template.
 | 
			
		||||
 */
 | 
			
		||||
function tab(name, group = null, active = false) {
 | 
			
		||||
 IgniteTemplate.prototype.tab = function(name, group = null, active = false) {
 | 
			
		||||
    //Set the starting class based on whether or not the tab is active.
 | 
			
		||||
    if (active) {
 | 
			
		||||
        this.class("tab-active");
 | 
			
		||||
@@ -49,8 +49,6 @@ function tab(name, group = null, active = false) {
 | 
			
		||||
    return this;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
IgniteTemplate.prototype.tab = tab;
 | 
			
		||||
 | 
			
		||||
class TabLink extends IgniteElement {
 | 
			
		||||
    constructor() {
 | 
			
		||||
        super();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user