elm-pages-v3-beta/examples/docs/public/index.js
2021-05-18 10:44:30 -07:00

12 lines
291 B
JavaScript

/** @typedef {{load: (Promise<unknown>); flags: (unknown)}} ElmPagesInit */
/** @type ElmPagesInit */
export default {
load: function (elmLoaded) {
document.addEventListener("DOMContentLoaded", function (event) {});
},
flags: function () {
return "Hello from flags!";
},
};