Linux-101/js/index.mjs
Starbeamrainbowlabs 9fcc3d39ef
All checks were successful
continuous-integration/laminar-elessar Build 83 succeeded in 48 seconds .
Disable updateUrl because it's causing issues on the server
2019-03-12 21:38:23 +00:00

19 lines
461 B
JavaScript

import "../css/theme.css";
import Deck3000 from 'deck3000';
window.addEventListener("load", function(_event) {
console.log("[main] Built on ", new Date("__BUILD_DATE__"));
const Slideshow = new Deck3000({
slideSelector: "article",
resetSlides: true,
keyboardEvents: true,
updateURL: false // FUTURE: Is there a way of doing this with #THING instead of /THING?
});
Slideshow.emitter.on("navigate", (event) => {
console.debug(event);
})
});