add blocks
This commit is contained in:
23
static/blocks/pages/fManager/script.js
Normal file
23
static/blocks/pages/fManager/script.js
Normal file
@@ -0,0 +1,23 @@
|
||||
//loadBlock("plugin/fManager", "content");
|
||||
|
||||
showPopupBtn.addEventListener('click', () => {
|
||||
popup(messageInput.value || 'Пустое сообщение');});
|
||||
|
||||
showfManagerBtn.addEventListener('click', () => {
|
||||
const div = document.createElement("div");
|
||||
div.id = "fManager";
|
||||
|
||||
document.body.appendChild(div);
|
||||
|
||||
// const testW = document.createElement('div');
|
||||
// testW.id = 'test_W'
|
||||
// testW.className = 'testWW';
|
||||
|
||||
loadBlock("plugin/fManager", "fManager");
|
||||
|
||||
});
|
||||
|
||||
/*
|
||||
const overlay = document.createElement('div');
|
||||
|
||||
*/
|
||||
Reference in New Issue
Block a user