All Projects → zoltantothcom → vanilla-js-tabs

zoltantothcom / vanilla-js-tabs

Licence: Unlicense license
Vanilla JavaScript tabs - tiny and simple.

Programming Languages

javascript
184084 projects - #8 most used programming language
Pug
443 projects
Less
1899 projects

Projects that are alternatives of or similar to vanilla-js-tabs

ionic4-vue-tabs
sample application using ionic framework tab component with vuejs
Stars: ✭ 17 (-68.52%)
Mutual labels:  tabs
react-native-viewpager-carousel
a flexible viewpager library with carousel functionality
Stars: ✭ 39 (-27.78%)
Mutual labels:  tabs
dockview
Zero dependency layout manager and builder with ReactJS support
Stars: ✭ 45 (-16.67%)
Mutual labels:  tabs
react-context-tabs
Flexible tabs for React
Stars: ✭ 31 (-42.59%)
Mutual labels:  tabs
power-close
A browser addon for the tab addict that closes tabs based on domain name or keyword
Stars: ✭ 20 (-62.96%)
Mutual labels:  tabs
browser-tabs-lock
Using this package, you can synchronise your code logic across browser tabs.
Stars: ✭ 29 (-46.3%)
Mutual labels:  tabs
Tabbed-Container-Extension
A Qlik Extension that groups Sense objects in a container and displays tabs as a way of navigating through them
Stars: ✭ 21 (-61.11%)
Mutual labels:  tabs
Tabs
Tabs component of React,designed for mobile.Support gestures and lots of tabs.
Stars: ✭ 29 (-46.3%)
Mutual labels:  tabs
pre-commit-hooks
git pre-commit hooks
Stars: ✭ 71 (+31.48%)
Mutual labels:  tabs
Material-Design-Resume
A simple resume template with a material design touche , testing the Google style CSS ( indigo-green ).
Stars: ✭ 18 (-66.67%)
Mutual labels:  tabs
PagerSlidingTabStrip
An interactive indicator to navigate between the different pages of a ViewPager
Stars: ✭ 2,194 (+3962.96%)
Mutual labels:  tabs
Krypton-Toolkit-Suite-NET-Core
A update to Component factory's krypton toolkit to support .NET Framework 3.5 to .NET Core
Stars: ✭ 27 (-50%)
Mutual labels:  tabs
alfred-tabs
🔍 Find Chrome/Safari tabs you want easily
Stars: ✭ 13 (-75.93%)
Mutual labels:  tabs
IndicatorView
IndicatorView Library For Android
Stars: ✭ 41 (-24.07%)
Mutual labels:  tabs
nova-tabs
Another Laravel Nova Tabs Package
Stars: ✭ 60 (+11.11%)
Mutual labels:  tabs
RickUmaliVanityWebsite
This is the Perl source code that generates my vanity webpage (hosted at rickumali.com).
Stars: ✭ 19 (-64.81%)
Mutual labels:  tabs
tabs
Guitar tabs transcribed by me, primarily in the stoner/doom/sludge metal genres... plus a few random other things.
Stars: ✭ 34 (-37.04%)
Mutual labels:  tabs
Mtgdb
Mtgdb.Gui - desktop app to search MTG cards and build decks
Stars: ✭ 46 (-14.81%)
Mutual labels:  tabs
un-material-tab
(deprecated) Custom tab layout which can be used as a material TabLayout alternative and contains basic functionality which Google's TabLayout has.
Stars: ✭ 83 (+53.7%)
Mutual labels:  tabs
react-native-paper-tabs
Smooth and fast cross platform Material Design Tabs for React Native Paper
Stars: ✭ 112 (+107.41%)
Mutual labels:  tabs

Vanilla JavaScript Tabs

Build Status Coverage Status Dependencies

Vanilla JavaScript Tabs - simple and awesome.

— Inspired by the blazing fast, lightweight, cross-platform and crazy popular Vanilla JS framework.

Demo

TABS

Options

Option Type Default Description
elem string HTML id of the tab container in the HTML markup.
open number 0 Opens this tab initially.

Methods

Method Type Description
open(n) number Opens a tab by index
update(n) number Updates the tabs with n-th tab open
(useful when dynamically adding tabs)
destroy() Removes the listeners

Usage example

var tabs = new Tabs({
    elem: "tabs",
    open: 1
});
// Open any other tab
tabs.open(3);

Running the tests

npm test

Browser support and dependencies

Browser Support Dependencies
Chrome yes -
Firefox yes -
Safari yes -
Opera yes -
IE9 and up yes -

License

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

See Unlicense for full details.

Related

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].