question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Popups or tooltips events

See original GitHub issue

Hello, how do open popups or tooltips by default and how to trigger their events open/close ? I’ve add my html like this and don’t know where to bind click event, on parent tag marker or child tags ?

<v-marker v-for='(marker, index) in markers' :lat-lng='marker.position' :key='index'>
  <v-tooltip :content="marker.tooltip"></v-tooltip>
  <v-popup :content="marker.popup"></v-popup>
</v-marker>

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12

github_iconTop GitHub Comments

5reactions
KoRiGaNcommented, Mar 31, 2018

Hi @mikebronner,

Here is a simple example where it works with many markers/popups .

Hope this helps,

Micka

2reactions
pmochinecommented, Nov 19, 2018

Just tried to add a listener to the mapobject:

this.mapObject.on('popupopen', () => console.log('test'));

works if someone needs this

Read more comments on GitHub >

github_iconTop Results From Across the Web

ToolTip.Popup Event (System.Windows.Forms) | Microsoft Learn
The Popup event is raised whenever a ToolTip is displayed, either through an explicit call to one of the Show methods or when...
Read more >
Controlling tooltips & pop-up menus with components in React
Use compound components to control tooltips and pop-up menus in your React ... We can add event listeners, control styling, fetch position ...
Read more >
Tooltips - Bootstrap
Reveals an element's tooltip. Returns to the caller before the tooltip has actually been shown (i.e. before the shown.bs.tooltip event occurs). This is ......
Read more >
Tooltip Guidelines - Nielsen Norman Group
Both tooltips and popup tips have the same goal: to provide helpful, additional content. The following table shows the key similarities and ...
Read more >
Popup | Semantic UI
Tooltips use an element's :before and :after pseudo classes. Elements like icon that already use these classes for styling will need to have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found