mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-10-04 02:07:13 +00:00
Initial application stub
This commit is contained in:
13
modules/webapp/src/main/webjar/docspell.js
Normal file
13
modules/webapp/src/main/webjar/docspell.js
Normal file
@@ -0,0 +1,13 @@
|
||||
/* Docspell JS */
|
||||
|
||||
var elmApp = Elm.Main.init({
|
||||
node: document.getElementById("docspell-app"),
|
||||
flags: elmFlags
|
||||
});
|
||||
|
||||
elmApp.ports.initElements.subscribe(function() {
|
||||
console.log("Initialsing elements …");
|
||||
$('.ui.dropdown').dropdown();
|
||||
$('.ui.checkbox').checkbox();
|
||||
$('.ui.accordion').accordion();
|
||||
});
|
Reference in New Issue
Block a user