UNPKG

753 BTypeScriptView Raw
1import { LgQuery } from '../../lgQuery';
2import { LightGallery } from '../../lightgallery';
3import { RotateSettings } from './lg-rotate-settings';
4export default class Rotate {
5 core: LightGallery;
6 settings: RotateSettings;
7 rotateValuesList: {
8 [key: string]: any;
9 };
10 private $LG;
11 constructor(instance: LightGallery, $LG: LgQuery);
12 buildTemplates(): void;
13 init(): void;
14 applyStyles(): void;
15 rotateLeft(): void;
16 rotateRight(): void;
17 getCurrentRotation(el: HTMLElement): number;
18 flipHorizontal(): void;
19 flipVertical(): void;
20 triggerEvents(event: string, detail: any): void;
21 isImageOrientationChanged(): boolean;
22 closeGallery(): void;
23 destroy(): void;
24}