/ember-frost-tabs

Tabs based off of MUI-CSS. Usage is dead simple. id's of frost-tab must match id in supplied argument to frostTabs. The id of the current element is used to toggle display: none | block.

Primary LanguageJavaScriptMIT LicenseMIT

Travis Coveralls NPM

ember-frost-tabs

Dependencies

Ember NPM

Health

Travis Coveralls

Security

bitHound

Ember Observer score

EmberObserver

ember-frost-tabs is a tab addon for Ember.

Usage

See the demo application for usage information.

  • git clone <name of repo>;
  • npm install && bower install;

Installation

  • ember install ember-frost-tabs

API

Detailed API and example usage can be found in the sample application in tests/dummy, which is also running at http://ciena-frost.github.io/ember-frost-tabs

Ember-elsewhere

This addon uses the ember-elsewhere to manage the tabs, to put the tab in the right location

Testing with ember-hook

This addon has been optimized for use with ember-hook. You can set a hook name on your tabs template. This will allow you to access the internal tabs content for testing.

Development

Setup

git clone git@github.com:ciena-frost/ember-frost-tabs.git
cd ember-frost-tabs
npm install && bower install

Development Server

A dummy application for development is available under ember-frost-tabs/tests/dummy. To run the server run ember server (or npm start) from the root of the repository and visit the app at http://localhost:4200.

Testing

Run npm test from the root of the project to run linting checks as well as execute the test suite and output code coverage.