diff --git a/package.json b/package.json index ddc8a49..b0721f4 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "layout-grid", + "name": "vue-layout-grid", "version": "0.0.1", "description": "layout gridster with vue", "main": "dist/LayoutGrid.min.js", diff --git a/src/components/LayoutGrid/LayoutGrid.vue b/src/components/LayoutGrid/LayoutGrid.vue index 434e1ee..377375e 100644 --- a/src/components/LayoutGrid/LayoutGrid.vue +++ b/src/components/LayoutGrid/LayoutGrid.vue @@ -7,7 +7,7 @@ :margin="margin" :is-draggable="editable" :is-resizable="editable" - @layout-updated="(n) => $emit('updated', n)"> + @layout-updated="(n) => onLayoutUpdated(n)"> @@ -75,6 +75,7 @@
@@ -88,7 +89,7 @@