Skip to content

Commit cc4e35a

Browse files
authored
Merge pull request jbaysolutions#228 from shpfive/responsive_two
responsive v2
2 parents 0009917 + 0dde80e commit cc4e35a

File tree

6 files changed

+13830
-128
lines changed

6 files changed

+13830
-128
lines changed

README.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Also check https://cli.vuejs.org/guide/build-targets.html#library
4949
* Widgets may be added or removed without rebuilding grid
5050
* Layout can be serialized and restored
5151
* Automatic RTL support (resizing not working with RTL on 2.2.0)
52+
* Responsive Layout
5253

5354

5455
## Getting Started
@@ -241,6 +242,29 @@ Include the browser-ready bundle (download from [releases](https://github.com/jb
241242

242243
Says if the CSS `transition-property: transform;` should be used.
243244

245+
* **responsive**
246+
247+
* type: `Boolean`
248+
* required: `false`
249+
* default: `false`
250+
251+
Says if the layout should be responsive to window width
252+
253+
* **breakpoints**
254+
255+
* type: `Object`
256+
* required: `false`
257+
* default: { lg: 1200, md: 996, sm: 768, xs: 480, xxs: 0 }
258+
259+
Breakpoints defined for responsive layout. Sets widths on wich column number changes
260+
261+
* **cols**
262+
263+
* type: `Object`
264+
* required: `false`
265+
* default: { lg: 12, md: 10, sm: 6, xs: 4, xxs: 2 }
266+
267+
Defines columns foreach breakpoint width
244268

245269

246270
##### GridItem
@@ -502,7 +526,7 @@ If you have a feature request, please add it as an issue or make a pull request.
502526
## TODO List
503527

504528
- [x] Basic grid layout
505-
- [ ] Responsive
529+
- [x] Responsive
506530
- [x] Draggable grid items
507531
- [x] Resizable grid items
508532
- [ ] Static elements

0 commit comments

Comments
 (0)