# hideLightbox

### Description

@short: Closes the lightbox if it's currently active

@signature: hideLightbox: () =\> void

### Example

~~~jsx
gantt.showLightbox(1);

gantt.hideLightbox();
~~~

### Related API
- [showLightbox](api/method/showlightbox.md)

