Giter Club home page Giter Club logo

Comments (8)

wesleycho avatar wesleycho commented on May 21, 2024

I don't think we should support these in a component - I already investigated this, and it seems too limited given what Bootstrap's markup supports.

I wouldn't be against using cards where they would make sense, but we should consider a way to allow users to break out of opinionated markup in our components.

from ng-bootstrap.

wesleycho avatar wesleycho commented on May 21, 2024

For reference: http://v4-alpha.getbootstrap.com/components/card/

from ng-bootstrap.

coltonmccormack avatar coltonmccormack commented on May 21, 2024

I would agree with you both. It doesn't make sense as a component.

from ng-bootstrap.

wesleycho avatar wesleycho commented on May 21, 2024

Closing as won't support

from ng-bootstrap.

thekalinga avatar thekalinga commented on May 21, 2024

Is there a reason why ng-bootstrap be compatible with bootstrap 3?

This project should be compatible with bootstrap 4 & forward

ng-bootstrap should be forward looking, so it makes very little sense that this issue is closed

from ng-bootstrap.

thekalinga avatar thekalinga commented on May 21, 2024

Keep the issue open so that interested contributors would contribute, rather than blindly closing this issue

from ng-bootstrap.

yehia2amer avatar yehia2amer commented on May 21, 2024

Why to use Cards:

  1. Because it is simple as hell
  2. the syntax is very clear and readable
  3. The concept of cards is very popular nowadays in web development
  4. why do we have to reinvent the wheel
  5. bootstrap 4 replaced panels with cards so it is better to be aligned with it !

I think that this decision should be revisited

from ng-bootstrap.

paustint avatar paustint commented on May 21, 2024

Because it is simple as hell

Because cards are so simple, I don't think it makes sense to abstract that into an ngb component and complicate the simple card structure offered by BS.

This ticket is 1 1/2 years old and cards have been incorporated in various areas. This library does make an artificial "panel" on the accordion (which is not a native BS4 construct), but it is made up of the card component behind the scenes.

My vote is to leave this ticket closed, as there is not really anything actionable based on the information in this ticket.

from ng-bootstrap.

Related Issues (20)

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.