mirror of
https://github.com/JeremyLikness/vanillajs-deck
synced 2024-11-14 09:34:55 +00:00
14 lines
373 B
JavaScript
14 lines
373 B
JavaScript
import { registerDeck } from "./navigator.js"
|
|
import { registerControls } from "./controls.js"
|
|
import { registerKeyHandler } from "./keyhandler.js"
|
|
|
|
/**
|
|
* Main application element, simply registers the web components
|
|
*/
|
|
const app = async () => {
|
|
registerDeck();
|
|
registerControls();
|
|
registerKeyHandler();
|
|
};
|
|
|
|
document.addEventListener("DOMContentLoaded", app); |