mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
24 lines
489 B
TypeScript
24 lines
489 B
TypeScript
/// <reference path="jquery-galleria.d.ts" />
|
|
namespace JqueryGalleriaTests {
|
|
var container = document.createElement("galleria");
|
|
|
|
var gOptions: GalleriaJS.GalleriaOptions;
|
|
|
|
gOptions.lightbox = true;
|
|
gOptions.autoplay = true;
|
|
|
|
Galleria.run("galleria", gOptions);
|
|
|
|
gOptions.lightbox = false;
|
|
|
|
Galleria.ready(function() {
|
|
this.configure(gOptions).refreshImage();
|
|
});
|
|
|
|
Galleria.run("galleria");
|
|
|
|
gOptions.autoplay = false;
|
|
|
|
Galleria.run();
|
|
}
|