feature/frontlog #10

Merged
troy-grunt merged 6 commits from feature/frontlog into master 2022-11-08 18:39:07 +01:00
Showing only changes of commit 862d65c894 - Show all commits

20
frontlog.js Normal file
View File

@@ -0,0 +1,20 @@
let frontlogList = {};
let frontlog_mxel = document.body.dataset['frontlog']??3;
let frontlog = document.createElement('frontlog');
document.body.appendChild(frontlog);
let frontlogAdd = function(title,icon,msg,col, time) {
let elem = document.createElement('flogelem');
{
let elemid = 'fl_';
{
let ch = 'abcdefghijklmnopqrstuvwxyz0123456789';
let chl = ch.length;
for ( let i = 0; i < length; i++ ) {
elemid += ch.charAt(Math.floor(Math.random() * chl));
}
}
elem.id = elemid;
}
elem.appendChild
}