UNPKG

lightgallery

Version:

lightGallery is a feature-rich, modular JavaScript gallery plugin for building beautiful image and video galleries for the web and the mobile

44 lines (43 loc) • 1.26 kB
export interface AutoplayStrings { toggleAutoplay: string; } export interface AutoplaySettings { /** * Enable autoplay plugin */ autoplay: boolean; /** * Enable slideshow autoplay */ slideShowAutoplay: boolean; /** * The time (in ms) between each auto transition. * The countdown starts once the slide on screen has loaded, so a slow * connection never advances past an image before it is visible. */ slideShowInterval: number; /** * Show autoplay progressBar */ progressBar: boolean; /** * If false autoplay will be stopped after first user action */ forceSlideShowAutoplay: boolean; /** * Show/hide autoplay controls. */ autoplayControls: boolean; /** * Specify where the autoplay controls should be appended. */ appendAutoplayControlsTo: string; /** * 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). */ autoplayPluginStrings?: Partial<AutoplayStrings>; } export declare const autoplaySettings: AutoplaySettings;