lightgallery
Version:
lightGallery is a feature-rich, modular JavaScript gallery plugin for building beautiful image and video galleries for the web and the mobile
48 lines (47 loc) • 1.11 kB
TypeScript
export interface RotateStrings {
flipVertical: string;
flipHorizontal: string;
rotateLeft: string;
rotateRight: string;
}
export interface RotateSettings {
/**
* Enable/Disable rotate option
*/
rotate: boolean;
/**
* Rotate speed in milliseconds
*/
rotateSpeed: number;
/**
* Enable rotate left.
*/
rotateLeft: boolean;
/**
* Enable rotate right.
*/
rotateRight: boolean;
/**
* Enable flip horizontal.
*/
flipHorizontal: boolean;
/**
* Enable flip vertical.
*/
flipVertical: boolean;
/**
* Custom translation strings for aria-labels
* @deprecated Set these labels on the core `strings` object instead,
* every user-facing string lives in that one contract. An explicitly set
* key here still wins (alias).
*/
rotatePluginStrings?: Partial<RotateStrings>;
}
export declare const rotateSettings: {
rotate: boolean;
rotateSpeed: number;
rotateLeft: boolean;
rotateRight: boolean;
flipHorizontal: boolean;
flipVertical: boolean;
};