Skip to content

Commit

Permalink
Merge pull request vue-leaflet#90 from SiggyF/docs-events
Browse files Browse the repository at this point in the history
listen to event
  • Loading branch information
KoRiGaN authored Oct 19, 2017
2 parents 91a1028 + 07e01cc commit 0eb05fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ For example if you want to bind to leaflet marker move event, you can bind to Vu
<div id="app" style="height: 100%">
<v-map :zoom=13 :center="[47.413220, -1.219482]">
<v-tilelayer url="http://{s}.tile.osm.org/{z}/{x}/{y}.png"></v-tilelayer>
<v-marker :lat-lng="[47.413220, -1.219482]" :l-move="doSomething"></v-marker>
<v-marker :lat-lng="[47.413220, -1.219482]" @l-move="doSomething"></v-marker>
</v-map>
</div>
```
Expand Down

0 comments on commit 0eb05fe

Please sign in to comment.