@serenity-is/corelib / UploadHelper / lightbox

Function: lightbox()

lightbox(link): void

Defined in: src/ui/helpers/uploadhelper.tsx:153

Creates a lightbox for a single upload thumbnail anchor element. It uses one of glightbox, simplelightbox or colorbox if available. Override this function to use a different lightbox library.

Parameters

HTMLElement | ArrayLike<HTMLElement>

Returns

void