snazzy-info-window icon indicating copy to clipboard operation
snazzy-info-window copied to clipboard

Click listener supported?

Open fmendoza opened this issue 6 years ago • 1 comments

I want to trigger a function when a info window is clicked. Is this supported?

fmendoza avatar May 05 '18 17:05 fmendoza

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 () {
      ...
    }
}

imlinus avatar Aug 27 '18 11:08 imlinus