1

I am trying to figure out how to use the close configuration option but it is not working. Here is my code:

<a href="assets/img/photo.png" data-featherlight="image" data-featherlight-closeOnClick= "background" >Open Image</a>

I am new to this, thanks!

  • Possible duplicate of [disable closing popup when clicking on background](http://stackoverflow.com/questions/30938584/disable-closing-popup-when-clicking-on-background) – liorsolomon Feb 26 '17 at 16:20

1 Answers1

1

Featherlight follows conventions: use data-featherlight-close-on-click

Marc-André Lafortune
  • 78,216
  • 16
  • 166
  • 166