npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

tab-strip

2.3.1 • Public • Published

tab-strip

Robust, stylable tab strip widget for HTML5 apps.
Features reorderable and closable tabs.

How to install

npm install tab-strip

Usage

Check out the live demo and its source code.

  • Include TabStrip.js in your page.
  • Create a container element, call tabStrip = new TabStrip(container).
  • Create a list item element (<li>), put whatever you want inside.
  • Use tabStrip.tabsRoot.appendChild(item).

See index.d.ts for the full API.

Building from source

  • Make sure you have a recent version of Node.js installed.
  • Clone the repository from https://github.com/sparklinlabs/tab-strip and run npm install once
  • Run npm run build to build once or npm run watch to start a watcher that will rebuild when changes are detecting

install

npm i tab-strip

Downloadsweekly downloads

3

version

2.3.1

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability