mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
24 lines
736 B
TypeScript
24 lines
736 B
TypeScript
import { LgQuery } from '../../lgQuery';
|
|
import { LightGallery } from '../../lightgallery';
|
|
import { HashSettings } from './lg-hash-settings';
|
|
export default class Hash {
|
|
core: LightGallery;
|
|
settings: HashSettings;
|
|
oldHash: string;
|
|
private $LG;
|
|
constructor(instance: LightGallery, $LG: LgQuery);
|
|
init(): void;
|
|
private onAfterSlide;
|
|
/**
|
|
* Get index of the slide from custom slideName. Has to be a public method. Used in hash plugin
|
|
* @param {String} hash
|
|
* @returns {Number} Index of the slide.
|
|
*/
|
|
getIndexFromUrl(hash?: string): number;
|
|
buildFromHash(): boolean | undefined;
|
|
private onCloseAfter;
|
|
private onHashchange;
|
|
closeGallery(): void;
|
|
destroy(): void;
|
|
}
|