* Refactor

+ Menu to create or read a password
+ New loader
This commit is contained in:
2019-10-27 00:06:51 +02:00
parent c258d995cf
commit 08af91f48c
14 changed files with 354 additions and 76 deletions

22
src/js/choose.js Normal file
View File

@@ -0,0 +1,22 @@
console.log("here")
window.$ = window.jQuery = require('../assets/jquery-3.4.1.min.js');
$('#scan').click(async (e) => {
console.log("here")
await loader.load('scanner');
$('#scan').animate({
left: '-150'
});
$('#wait').animate({
left: '0'
}, 300);
const done = await startWatching();
$('#preview').animate({
left: '0'
}, 600);
})