Skip to content

Commit 6d3635f

Browse files
committed
docs: layout.sync on all examples
1 parent 1e04956 commit 6d3635f

11 files changed

+12
-12
lines changed

website/docs/.vuepress/components/Example01Basic.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<grid-layout :layout="layout"
2+
<grid-layout :layout.sync="layout"
33
:col-num="12"
44
:row-height="30"
55
:is-draggable="draggable"

website/docs/.vuepress/components/Example02Events.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</div>
77
</div>
88
<div style="margin-top:10px;">
9-
<grid-layout :layout="layout"
9+
<grid-layout :layout.sync="layout"
1010
:col-num="12"
1111
:row-height="30"
1212
:is-draggable="draggable"

website/docs/.vuepress/components/Example03MultipleGrids.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div>
33
<div style="margin-top:10px;">
44
<h4>Grid #1</h4>
5-
<grid-layout :layout="layout"
5+
<grid-layout :layout.sync="layout"
66
:col-num="12"
77
:row-height="30"
88
:is-draggable="true"

website/docs/.vuepress/components/Example04AllowIgnore.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div>
3-
<grid-layout :layout="layout"
3+
<grid-layout :layout.sync="layout"
44
:col-num="12"
55
:row-height="30"
66
:is-draggable="true"

website/docs/.vuepress/components/Example05Mirrored.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<input type="checkbox" v-model="resizable"/> Resizable
55
<input type="checkbox" v-model="mirrored"/> Mirrored
66
<br/>
7-
<grid-layout :layout="layout"
7+
<grid-layout :layout.sync="layout"
88
:col-num="12"
99
:row-height="30"
1010
:is-draggable="draggable"

website/docs/.vuepress/components/Example06Responsive.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<input type="checkbox" v-model="responsive"/> Responsive
1515
<br/>
1616
<div style="width:100%;margin-top: 10px;height:100%;">
17-
<grid-layout :layout="layout"
17+
<grid-layout :layout.sync="layout"
1818
:col-num="12"
1919
:row-height="30"
2020
:is-draggable="draggable"

website/docs/.vuepress/components/Example07PreventCollision.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div>
3-
<grid-layout :layout="layout"
3+
<grid-layout :layout.sync="layout"
44
:col-num="12"
55
:row-height="30"
66
:is-draggable="draggable"

website/docs/.vuepress/components/Example09DynamicAddRemove.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<button @click="addItem">Add an item dynamically</button>
1212
<input type="checkbox" v-model="draggable" /> Draggable
1313
<input type="checkbox" v-model="resizable" /> Resizable
14-
<grid-layout :layout="layout"
14+
<grid-layout :layout.sync="layout"
1515
:col-num="colNum"
1616
:row-height="30"
1717
:is-draggable="draggable"

website/docs/.vuepress/components/ExampleStylingPlaceholder.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="container">
3-
<grid-layout :layout="layout"
3+
<grid-layout :layout.sync="layout"
44
:col-num="12"
55
:row-height="30"
66
:is-draggable="draggable"

website/docs/.vuepress/components/HomepageGrid.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<grid-layout :layout="layout"
2+
<grid-layout :layout.sync="layout"
33
:col-num="12"
44
:row-height="30"
55
:is-draggable="draggable"

0 commit comments

Comments
 (0)