e-oj
Show HN: Visa – Easy third party auth (OAuth 2.0) for flutter apps
Show HN: Magic Grid – Creating dynamic grid layouts with JS
Re:Show HN: Magic Grid – A simple JavaScript library for dynamic grid ...
on Monday December 24, 2018 @12:51PM (#18753246)
This doesn't and I think most grid solutions keep the items separate
Re:Show HN: Magic Grid – A simple JavaScript library for dynamic grid ...
on Monday December 24, 2018 @11:51AM (#18752945)
You're right requestAnimationFrame is more efficient than using the resize listener with a delay. I'm actually working on an update to change that. It'll be fixed soon.
Re:Show HN: Magic Grid – A simple JavaScript library for dynamic grid ...
on Monday December 24, 2018 @02:56AM (#18751031)
No, the library doesn't support that. you should be able to achieve the effect with plain html and css though.
Re:Show HN: Magic Grid – A simple JavaScript library for dynamic grid ...
on Monday December 24, 2018 @01:46AM (#18750814)
Makes it much easier to segment the grid into rows or columns
Re:Show HN: Magic Grid – A simple JavaScript library for dynamic grid ...
on Monday December 24, 2018 @01:03AM (#18750671)
When the components in a grid have different heights, a single longer or shorter component stretches the whole row or leaves unpleasant whitespace at the bottom.
Re:Show HN: Magic Grid – A simple JavaScript library for dynamic grid ...
on Monday December 24, 2018 @12:59AM (#18750657)
Depends on the use case. If the grid's items have varying widths then masonry is the better option. However, for a grid with equal width items, I'll definitely go with magic grid. It's just so much lighter (2.3kb minified) than masonry (23.5kb minified).
Show HN: Magic Grid – A simple JavaScript library for dynamic grid layouts
Creating dynamic grid layouts with JS
JavaScript Open Source of the Month
Show HN: Magic Grid – A simple JavaScript library for dynamic grid layouts
Re:Show HN: Magic Grid – A simple JavaScript library for dynamic grid ...
on Monday November 12, 2018 @07:33PM (#18437301)
Github repo: https://github.com/e-oj/Magic-Grid/