Skip to content
Snippets Groups Projects
Commit 4defa08b authored by Julian's avatar Julian
Browse files

More extensive default values

parent 8365e6a1
No related branches found
No related tags found
1 merge request!2Resolve "Implement basic functionality"
...@@ -126,9 +126,15 @@ export default { ...@@ -126,9 +126,15 @@ export default {
data() { data() {
return { return {
items: [ items: [
{ x: 3, y: 3, w: 1, h: 1, key: "obj1" }, { x: 1, y: 3, w: 1, h: 1, key: "obj1" },
{ x: 1, y: 1, w: 1, h: 1, key: "obj2" }, { x: 2, y: 1, w: 1, h: 1, key: "obj2" },
{ x: 4, y: 3, w: 2, h: 2, key: "obj3" }, { x: 3, y: 1, w: 2, h: 2, key: "obj3" },
{ x: 5, y: 2, w: 1, h: 1, key: "obj4" },
{ x: 1, y: 1, w: 1, h: 2, key: "obj5" },
{ x: 2, y: 3, w: 1, h: 1, key: "obj6" },
{ x: 2, y: 2, w: 1, h: 3, key: "obj7" },
{ x: 1, y: 4, w: 1, h: 1, key: "obj8" },
{ x: 5, y: 3, w: 1, h: 1, key: "obj9" },
], ],
}; };
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment