Comments (4)
1 should be an option, but I wouldn't recommend it. It mostly exists for backwards compatibility.
See the code here:
https://github.com/meteortemplates/tabs/blob/master/templates:tabs.coffee#L75
I'll have to respond to your class concerns a little bit later when I have more time to dig into the code. Let's continue that discussion in your other issue.
from blaze-tabs.
@jonjamz, I don't mind if you want to keep discussion in one issue, but I'd like to clarify that while I'm personally only concerned about adding custom classes at this time, the ability to use a custom definition of #tabContent
seems of greater importance since it's not clear if it can be done without forking the entire project (which I have).
from blaze-tabs.
You shouldn't have to fork the project to write your own #tabContent
. Just copy the HTML and JS from the package over for that template in your project (you should be able to create as many differently named variations of this as you want) and keep the existing helpers and add your own new stuff. The codebase of the package is really small, like ~140 LOC, and it's all just Blaze.
from blaze-tabs.
Ah, good point. I hadn't realized that the tabContent
helper was independent of the rest of the package.
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
- The package does not work in a package HOT 4
- 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
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.