UNPKG

lightgallery

Version:

lightGallery is a feature-rich, modular JavaScript gallery plugin for building beautiful image and video galleries for the web and the mobile

25 lines (24 loc) 753 B
import { LgQuery } from '../../lgQuery'; import { LightGallery } from '../../lightgallery'; import { RotateSettings } from './lg-rotate-settings'; export default class Rotate { core: LightGallery; settings: RotateSettings; rotateValuesList: { [key: string]: any; }; private $LG; constructor(instance: LightGallery, $LG: LgQuery); buildTemplates(): void; init(): void; applyStyles(): void; rotateLeft(): void; rotateRight(): void; getCurrentRotation(el: HTMLElement): number; flipHorizontal(): void; flipVertical(): void; triggerEvents(event: string, detail: any): void; isImageOrientationChanged(): boolean; closeGallery(): void; destroy(): void; }