Package Exports
- materialize-tabs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (materialize-tabs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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