mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
23 lines
608 B
TypeScript
23 lines
608 B
TypeScript
import { LightGallery } from '../../lightgallery';
|
|
import { AutoplaySettings } from './lg-autoplay-settings';
|
|
/**
|
|
* Creates the autoplay plugin.
|
|
* @param {object} element - lightGallery element
|
|
*/
|
|
export default class Autoplay {
|
|
core: LightGallery;
|
|
settings: AutoplaySettings;
|
|
interval: any;
|
|
fromAuto: boolean;
|
|
pausedOnTouchDrag: boolean;
|
|
pausedOnSlideChange: boolean;
|
|
constructor(instance: LightGallery);
|
|
init(): void;
|
|
private showProgressBar;
|
|
private controls;
|
|
startAutoPlay(): void;
|
|
stopAutoPlay(): void;
|
|
closeGallery(): void;
|
|
destroy(): void;
|
|
}
|