Unopinionated, no-thrills tabs for Ember.js
- Ember.js v4.4 or above
- Ember CLI v4.4 or above
- Node.js v14 or above
ember install @opendatafit/ember-basic-tabs
import TabState from `@opendatafit/ember-basic-tabs/utils/tab-state';
tabs = [
{
name: 'model',
title: 'Model',
icon: '',
content: 'some content 1',
},
{
name: 'params',
title: 'Params',
icon: '',
content: 'some content 2',
},
{
name: 'graph',
title: 'Fit graph',
icon: '',
content: 'some content 3',
},
{
name: 'table',
title: 'Fit table',
icon: '',
content: 'some content 4',
},
];
myTabState = null;
constructor() {
super(...arguments);
this.myTabState = new TabState(this.tabs, 0, (name = 'test'));
}
See the Contributing guide for details.
This project is licensed under the MIT License.