Closed yorrd closed 7 years ago
actually, coming right now. Have a look whether you like it this way: https://github.com/vpusher/the-grid/pull/11
Do you plan responsive layout?
@JosefJezek i have yet to write the rest of the pull reqeust. Have a look, @vpusher wanted some changes i havent come around to implementing. If you want, fork my fork and finish the pull request. Otherwise, wait for me to get it done, which I cant promise this week
@JosefJezek actually, you can already make it responsive since you can bind its cell-width
, col-count
, ... attributes depending on whatever you want: events, media queries, ... I will add a responsive demo in the next release so you can use it.
@all, I have finalized the pull request, waiting for approval @vpusher I found it hard to do that from the outside, and somewhat unreliable. Excited to see your demo though, maybe I just missed something
@JosefJezek here is the responsive sample: demo/responsive.html
You've talked about this in the other thread. Basically, we'd have an option whether the grid should be expanding automatically or not. If it should, the grid will respond dynamically in size when adding, moving or resizing children. If not, the behavior right now is kept.
Pull request coming soon...