Loading src/Playground.vue +7 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,10 @@ </l-tooltip> </l-marker> </l-map> <div> Current zoom: {{ zoom }}. <button @click="zoomToZero">Zoom all the way out</button> </div> </div> </template> <script> Loading @@ -42,6 +46,9 @@ export default { log(a) { console.log(a); }, zoomToZero() { this.zoom = 0; }, }, }; </script> Loading
src/Playground.vue +7 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,10 @@ </l-tooltip> </l-marker> </l-map> <div> Current zoom: {{ zoom }}. <button @click="zoomToZero">Zoom all the way out</button> </div> </div> </template> <script> Loading @@ -42,6 +46,9 @@ export default { log(a) { console.log(a); }, zoomToZero() { this.zoom = 0; }, }, }; </script>