Comments (4)
Fixed it. Hours of nerding - dont know exactly how it came to work. However, now if I return a particular slug name from the "activeTab" helper it doesn't do anything- event if I hardcode the slug name to be returned - strange.
from blaze-tabs.
Fixed the activeTab issue - had to read the manual :-)
The helper was configured like: {{#basicTabs name="" tabs=tabs }}
but actually ha to add: activeTab=activeTab in the helper:
{{#basicTabs name="" tabs=tabs activeTab=activeTab}}
from blaze-tabs.
+1
from blaze-tabs.
fixed by adding
ReactiveTabs.createInterface
template: 'basicTabs'
onChange: (slug, template) ->
# This callback runs every time a tab changes.
# The `template` instance is unique per {{#basicTabs}} block.
# console.log '[tabs] Tab has changed! Current tab:', slug
# console.log '[tabs] Template instance calling onChange:', template
return
in startup.coffee
from blaze-tabs.
Related Issues (14)
- Data moved to parent template HOT 3
- css styling
- Font Awesome Icons on tabs HOT 1
- Conditionally show/hide a tab HOT 5
- File naming under Windows HOT 4
- Autoform 'update' form data not showing within tabs HOT 1
- activeTab causes failure to render content of tab (FlowRouter) HOT 2
- Flow Router Support HOT 1
- Support for sticky routes / controls state preservation per tab HOT 5
- README rendered incorrectly on Atmosphere HOT 3
- Meteor helpers within tabContent HOT 6
- Names and CSS Classes HOT 3
- Alternative Tab Content Definition HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blaze-tabs.