Installation
npm install --save @types/jquery-galleria
Summary
This package contains type definitions for jquery-galleria (https://github.com/aino/galleria).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-galleria.
index.d.ts
declare namespace GalleriaJS {
interface GalleriaOptions {
dataSource: GalleriaEntry[];
autoplay?: boolean | undefined;
lightbox?: boolean | undefined;
}
interface GalleriaEntry {
image?: string | undefined;
thumbnail?: string | undefined;
title?: string | undefined;
description?: string | undefined;
}
interface GalleriaFactory {
run(): GalleriaFactory;
run(selector: String): GalleriaFactory;
run(selector: String, options: GalleriaOptions): GalleriaFactory;
loadTheme(url: String): GalleriaFactory;
configure(options: GalleriaOptions): GalleriaFactory;
ready(method: () => any): void;
refreshImage(): GalleriaFactory;
resize(): GalleriaFactory;
load(data: GalleriaEntry[]): GalleriaFactory;
setOptions(options: GalleriaOptions): GalleriaFactory;
}
}
declare var Galleria: GalleriaJS.GalleriaFactory;
Additional Details
- Last updated: Tue, 30 Jan 2024 2145 GMT
- Dependencies: none
Credits
These definitions were written by Robert Imig.