lightgallery
Version:
lightGallery is a feature-rich, modular JavaScript gallery plugin for building beautiful image and video galleries for the web and the mobile
15 lines (14 loc) • 459 B
TypeScript
/**
* lightGallery caption for placing captions relative to the image
*/
import { LightGallery } from '../../lightgallery';
import { RelativeCaptionSettings } from './lg-relative-caption-settings';
export default class RelativeCaption {
core: LightGallery;
settings: RelativeCaptionSettings;
constructor(instance: LightGallery);
init(): void;
private setCaptionStyle;
private setRelativeCaption;
destroy(): void;
}