Tabs

Tabs Javascript

Methods

init()

let tabs = new tabs4i();
let wrapperEl = document.getElementById("copyTabs");
tabs.init(wrapperEl);
				
initTab()

Uses ID of the tab button you want to have open on page load.

tabs.initTab(document.getElementById("tabTwo"));
				
Notes

See Tab Component.

Resources

Sass File(s)/sass/components/_tabs.scss
JS File(s)/library/tabs4i.js
JS FunctionsSee Above.
Locale KeysNone

Accessibility

None at this time.

To Top of page