Skip to content

Grandiferr/materialize-tabs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

materialize-tabs

materialize-tabs is standalone the tabs component taken from materialize-css. It's dependent only on jQuery.

Install

$ npm install materialize-tabs

Usage

Use with browserify as,

require('materialize-tabs');
// This will attach tabs to jQuery
// You do not need to declare jQuery as a global

For direct use in a browser,

<link rel="stylesheet" type="text/css" href="/dist/jquery.materialize-tabs.min.css">
<script type="text/javascript" src="/dist/jquery.materialize-tabs.min.js"></script>

This includes jQuery as well.

If jQuery is already present, use,

<link rel="stylesheet" type="text/css" href="/dist/jquery.materialize-tabs.css">
<script type="text/javascript" src="/src/js/tabs.js"></script>

Make sure you include jQuery before including tabs.js

For calling the api, refer http://materializecss.com/tabs.html

About

Standalone Materialize-css tabs component

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.1%
  • CSS 17.9%