mirror of
https://github.com/sweidac/kidsbox.git
synced 2025-07-28 03:41:54 +02:00
Adds basic web-page stub.
This commit is contained in:
10
www/main.js
Normal file
10
www/main.js
Normal file
@@ -0,0 +1,10 @@
|
||||
console.log('hi');
|
||||
|
||||
const elements = {};
|
||||
|
||||
elements.rfidId = document.querySelector('.rfid-id');
|
||||
elements.rfidRefresh = document.querySelector('.rfid-refresh');
|
||||
|
||||
elements.rfidRefresh.addEventListener('click', () => {
|
||||
console.log(window.location.origin);
|
||||
});
|
Reference in New Issue
Block a user