Skip to content

Commit d12a230

Browse files
authored
Fix #334 - event name should be Kebab case
Event names should be kebab case, as per [vue recommendations](https://vuejs.org/v2/guide/components-custom-events.html#Event-Names) To avoid breaking changes, we still emit the original event name. This fix closes [issue #334 ](#334)
1 parent 47d136b commit d12a230

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/LMarker.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export default {
7777
},
7878
latLngSync (event) {
7979
this.$emit('update:latLng', event.latlng);
80+
this.$emit('update:lat-lng', event.latlng);
8081
}
8182
},
8283
render: function (h) {

0 commit comments

Comments
 (0)