snazzy-info-window
snazzy-info-window copied to clipboard
Click listener supported?
I want to trigger a function when a info window is clicked. Is this supported?
Sorry for late answer.
I have used one of the callbacks to run the addEventListener after the window has been created, instead of using a global document.body listener. But both should work fine.
callbacks: {
afterOpen: function () {
...
}
}