Code Monkey home page Code Monkey logo

Comments (2)

dgbeck avatar dgbeck commented on July 18, 2024

Hi @joholo , thanks for the PR! There have been several other people who want access to the place holder div in the subview creator function, see #12 and #18. We have resisted adding this functionality as we do not think it is the cleanest pattern but it seems to be in high demand. I don't want to hold people back from doing things the way they see fit. We'll do a patch shortly that incorporates this functionality and also allows you to override how subviews are created as described in #20 (and currently available on https://github.com/rotundasoftware/backbone.subviews/tree/override-creator).

Thanks very much for your feedback and contribution.

from backbone.subviews.

joholo avatar joholo commented on July 18, 2024

Great! That would take care of passing the ID and class (along with anything else) to the subview creator function.

Thank you for providing such a great plugin. With the new patch we can stop rolling our own way of creating subviews.

from backbone.subviews.

Related Issues (13)

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.