-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathlite-light.d.ts
More file actions
16 lines (15 loc) · 607 Bytes
/
Copy pathlite-light.d.ts
File metadata and controls
16 lines (15 loc) · 607 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
export interface LiteLightOptions {
/**
* CSS selector for gallery triggers. Default: `'img[data-lightbox]'`.
* Use `'a[data-lightbox]'` for text links, or
* `'img[data-lightbox], a[data-lightbox]'` to mix images and links.
*/
imageSelector?: string;
/** Attribute on each trigger that holds the full-size image URL. Default: `'data-lightbox'`. */
imageUrlAttribute?: string;
lightboxClass?: string;
swipeThreshold?: number;
fadeAnimationDuration?: number;
}
export function init(options?: LiteLightOptions): void;
export function initLiteLight(options?: LiteLightOptions): void;