jbaysolutions/vue-grid-layout

Responsiveness

Open

#129 opened on Dec 20, 2017

View on GitHub
 (2 comments) (6 reactions) (1 assignee)JavaScript (1,436 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (6,777 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hi.

I am considering to use your library as a base for building Dashboard. It looks really nice, api is fine and performance looks great also. Only thing that is missing for me is Possibility to use it on tablet/phone.

I think that one of ways to implement is with adding "size" prefix to items w, h, x, y, and then disabling dragging/resizing for particular size.

Like for mobile grid item definition cal look like: {"x":4,"y":8,"w":2,"h":4,"i":"14", "sm-x": 1. "sm-y": 1, "sm-w": 12, "sm-h": 4, "sm-draggable": false, "sm-resizable": false}

Contributor guide