Linux-101/js/index.mjs

20 lines
359 B
JavaScript
Raw Normal View History

2019-03-09 16:07:44 +00:00
import "../css/theme.css";
import Deck3000 from 'deck3000';
window.addEventListener("load", function(_event) {
console.log("__BUILD_DATE__");
const Slideshow = new Deck3000({
slideSelector: "article",
resetSlides: true,
keyboardEvents: true,
updateURL: true
});
Slideshow.Emitter.on("navigate", (event) => {
console.debug(event);
})
});