Coder Social home page Coder Social logo

Comments (4)

llorenspujol avatar llorenspujol commented on May 26, 2024

IMO, this would be just a nice to have, but not much people would end up using it, what do you think? Can you explain some use cases for those new gravity options?

The purpose of this library is to have an excellent layout tool for dashboard components. Dashboard components are not meant to be set in all this gravity options. Said that Angular-grid-layout is not closed for only dashboards components, but for now, it is its purpose. In order to add this functionality, we need to find first real use cases. If we find real use cases and more users are pushing for this feature, this feature would be able to be added.

from angular-grid-layout.

Dimanoid avatar Dimanoid commented on May 26, 2024

Because if you have for example 'vertical' compact type you can end up with this layout
image
that looks really strange for me.

from angular-grid-layout.

llorenspujol avatar llorenspujol commented on May 26, 2024

This layout may look strange, I agree, but it is just the way you position it. What you need to do is manually position each item the way you want. Having other gravity options would not help in this case. So, this layout example, IMO, is not a reason to put all those gravity options.

from angular-grid-layout.

lennybakkalian avatar lennybakkalian commented on May 26, 2024

i would also be interested in such a feature. maybe "gravity" is the wrong word. Also, I think a lot of people would use this functionality because it's much more convenient to be able to switch components horizontally AND vertically in the layout. By this I mean: you move a component from left to right and then the positions are swapped with the right one. But exactly the same also only vertically. A "CompactType" with "both" would be very nice here.

from angular-grid-layout.

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.