You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/src/components/Simple.vue
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
<h3>Simple map</h3>
5
5
<p>Marker is placed at {{ marker.lat }}, {{ marker.lng }}</p>
6
6
<p> Center is at {{ currentCenter }} and the zoom is: {{ currentZoom }} </p>
7
+
<button@click="showLongTooltip">Toggle Long tooltip</button>
7
8
</div>
8
9
<l-map
9
10
:zoom="zoom"
@@ -15,7 +16,14 @@
15
16
:url="url"
16
17
:attribution="attribution"/>
17
18
<l-marker:lat-lng="marker">
18
-
<l-tooltip> I am a tooltip </l-tooltip>
19
+
<l-tooltipdynamic>
20
+
<div>
21
+
I am a tooltip
22
+
<pv-show="showParagraph">
23
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque sed pretium nisl, ut sagittis sapien. Sed vel sollicitudin nisi. Donec finibus semper metus id malesuada.
0 commit comments