R
R
Renat Sagdeev2016-09-15 18:51:34
css
Renat Sagdeev, 2016-09-15 18:51:34

Which dynamic grid to use with Angular?

Hello.
I want it to look something like this:
2ce4ec6367d8489f867861c4f23562f6.jpg
A few moments.
All this is loaded from the server via get, data from json. Type can be 2 (small or large, as in the picture). But it may be that there will be 10 small ones in a row, or more, and only one big one.
In addition, you can upload more data. The type is also unknown.
So what to choose? Use masonry, packery ? If there is a lot of data, then wait a long time. First loading, then meshing, and how it works when loaded.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
_
_ _, 2016-09-15
@AMar4enko

I used packery - it works fine, jquery is not needed, but you need to know how to integrate - if you embed it incorrectly in the application life cycle, it will show you a figure instead of a grid.
But in general, the task is interesting, just for studying angular.

P
Philipp, 2016-09-15
@zoonman

https://css-tricks.com/snippets/css/a-guide-to-flexbox/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question