lightgallery
Version:
lightGallery is a feature-rich, modular JavaScript gallery plugin for building beautiful image and video galleries for the web and the mobile
29 lines (28 loc) • 1.03 kB
TypeScript
import { HashDriverPreference } from '../../headless/index';
export interface HashSettings {
/**
* Enable/Disable hash option
*/
hash: boolean;
/**
* URL engine behind the hash syncing.
* @description 'auto' uses the Navigation API where the browser
* supports it and falls back to the History API everywhere else;
* 'history' and 'navigation' force an engine (an unsupported
* 'navigation' quietly falls back, the enhancement is never
* load-bearing). The deep-link URL format is identical either way.
* See <a href="/docs/hash-drivers/">Hash drivers</a>.
* @version V3.0.0
*/
hashDriver: HashDriverPreference;
/**
* Unique id for each gallery.
* @description It is mandatory when you use hash plugin for multiple galleries on the same page.
*/
galleryId: string;
/**
* Custom slide name to use in the url when hash plugin is enabled
*/
customSlideName: boolean;
}
export declare const hashSettings: HashSettings;