# jquery-sticky-bootstrap-tabs

> jquery-sticky-bootstrap-tabs =================

Latest version **1.2.6** (published 2016-08-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install jquery-sticky-bootstrap-tabs
pnpm add jquery-sticky-bootstrap-tabs
yarn add jquery-sticky-bootstrap-tabs
bun add jquery-sticky-bootstrap-tabs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.6 |
| Published | 2016-08-10 |
| First published | 2016-08-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Claudio Cardinale, Aidan Lister, Rocco Howard |
| Maintainers | bluora |

## Links

- npm: https://www.npmjs.com/package/jquery-sticky-bootstrap-tabs
- Repository: https://github.com/bluora/jquery-sticky-bootstrap-tabs
- Homepage: https://github.com/bluora/jquery-sticky-bootstrap-tabs#readme
- Issues: https://github.com/bluora/jquery-sticky-bootstrap-tabs/issues
- npm.io page: https://npm.io/package/jquery-sticky-bootstrap-tabs

## Recent versions

- 1.2.6 (latest) — 2016-08-10

## README

jquery-sticky-bootstrap-tabs
=================
[![npm version](https://badge.fury.io/js/jquery-sticky-bootstrap-tabs.svg)](https://badge.fury.io/js/jquery-sticky-bootstrap-tabs)

Provides pushState (back and forward button support) to Bootstrap tabs

Install
=======
NPM
---
type `npm install jquery-sticky-bootstrap-tabs --save` to install the library via NPM

Bower
-----
type `bower install jquery-sticky-bootstrap-tabs --save` to install the library via bower


Usage
=====

Run this in document ready or some equivalent initializer on your page:

    $('.nav-tabs').stickyTabs();

Where `nav-tabs` is the default class for the bootstrap tabs feature.

Options
=======

The following options are available to pass to jquery-sticky-bootstrap-tabs on instantiation

**Example**

````javascript
$(function() {
	var options = { 
		selectorAttribute: "data-target",
		backToTop: true
	};
	$('.nav-tabs').stickyTabs( options );
});
````

|option|default|description|
|------|-------|-----------|
| selectorAttribute | false | Override the default `href` attribute used as selector when you need to activate multiple TabPanels at once with a single Tab using the `data-target` attribute. |
| backToTop |false | Prevent the page from jumping down to the tab content by setting the backToTop setting to true. |
| showParentTabs |false | Show the parent tabs so the selected tab comes into view if it is part of another tab grouping. |
| showTabUsingClickTrigger |false | Activate the requeted tab using the click trigger so that any behaviours on the click trigger are activated. |

---
_Source: https://npm.io/package/jquery-sticky-bootstrap-tabs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
