Giter Club home page Giter Club logo

Comments (4)

jonjamz avatar jonjamz commented on June 16, 2024

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.

ryneeverett avatar ryneeverett commented on June 16, 2024

@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.

jonjamz avatar jonjamz commented on June 16, 2024

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.

ryneeverett avatar ryneeverett commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.