mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-01 10:54:34 +08:00
21 lines
367 B
TypeScript
21 lines
367 B
TypeScript
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();
|