semantic-tabs

2.0.0 • Public • Published

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.

Package Sidebar

Install

npm i semantic-tabs

Weekly Downloads

2

Version

2.0.0

License

MIT

Unpacked Size

22.2 kB

Total Files

10

Last publish

Collaborators

  • aristorinjuang