fancyapps / ui

A library of JavaScript UI components, includes the best lightbox - Fancybox5
https://fancyapps.com/
Other
820 stars 99 forks source link

Fancybox: Hide caption when idle? #662

Closed tou0125 closed 5 months ago

tou0125 commented 5 months ago

Is your feature request related to a problem? Please describe.

I would like to hide the caption along with the toolbar when idle mode is activated. At the moment, only the toolbar is hidden but the caption remains visible.

Describe the solution you'd like

Would it be possible to hide the caption along with the toolbar if idle is set to true? Rather than trying some alternative hiding the caption, I was wondering if there is any easy way to do this already?

Describe alternatives you've considered

No response

Additional context

No response

fancyapps commented 5 months ago

Hi,

You could listen to setIdle / endIdle to do your stuff. There is no built-in options for that.