2.0.0 • Published 2 years ago

semantic-tabs v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Semantic Tabs v2.0.0

SemanticTabs is a pure JavaScript or VanillaJS library built on TypeScript that can convert semantic HTML tags to tabs. It is only 1.09 kB.

Usage

  • Install SemanticTabs, npm i semantic-tabs.
  • Load the semantic-tabs.min.js.
  • Call the function, SemanticTabs();.

Parameters

elements

String. semantic-tabs by default. A CSS class to apply SemanticTabs.

componentClass:

String. semantic-tabs-component by default. A CSS class to group components (heads and elements).

elementClass:

String. semantic-tabs-element by default. A CSS class to group elements.

head:

String. h3 by default. An HTML tag or element as a head.

heads:

String. semantic-tabs-heads by default. A CSS class to group heads.