Files
DefinitelyTyped/types/jquery-galleria/jquery-galleria-tests.ts
2017-03-24 14:27:52 -07:00

24 lines
444 B
TypeScript

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();
}