- Use inline tab hiding to prevent issues with
#each
.
- Export
ReactiveTabs
to support ES6 modules.
- Add Windows support.
- Add support for custom classes.
- Remove text highlighting in the CSS for the default tabs.
- Pass slug into onRender as the first argument, just like it's passed into onChange.
- Fix onRender.
- Try to fix docs display on Atmosphere (#6).
- Fix dynamic tab tracking.
- When the array of tabs changes, set the active tab to the first tab in the array if the existing active tab isn't in the new array.
- Remove dependency on
ReactiveArray
and useBlaze.ReactiveVar
instead. - Remove
{{#if tabs}}
expression fromtrackTabs
indynamicTabs
template--of course there will be tabs. - Update docs.
- Update package.js to fix example template loading and limit files to client-side.
- Add
tabContent
block helper to wrap tab content areas.- Removes the need to use jQuery to show/hide tab content.
- Allows Blaze logic to be used in tabbed interface content block, for example to control permissions. Before, this would sometimes cause a race condition that would run the jQuery to add attributes to tab content containers before they rendered.
- Tab content areas wrapped in
tabContent
can be defined out-of-order and still work properly. - The simpler
<div>
based content areas are still supported.
- Support passing interface-level context into tabs content block.
- Update example code and docs.
- Change
activeTab
template helper toisActiveTab
to prevent name clash with anactiveTab
expression, as seen in thedynamicTabs
example.- Breaks API from 1.0, but should be a very easy update.
- Add support for
onRender
callback specified in the tabs array. - Add
dynamicTabs
example.
- Manually tested working version.
- Includes
basicTabs
example template. - Supports router integration.
- The
onChange
callback, which runs every time a tab changes and gives access to the new slug, allows tabs to change active route if desired. - A reactive
activeTab
value can be passed into the template, so an external route or var can dictate the currently active tab.
- The
- Docs written.