@massimo-cassandro/minimo 1.42.0 → 1.42.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import * as styles from './layout-tools.module.css';
|
|
2
2
|
|
|
3
|
+
// TODO aggiungere popup info viewport
|
|
4
|
+
|
|
3
5
|
const div = document.createElement('div');
|
|
4
6
|
div.className = styles.mediaMonitor;
|
|
5
7
|
|
|
6
|
-
document.body.
|
|
8
|
+
document.body.appendChild(div);
|
|
9
|
+
|
|
10
|
+
// soluzione temporanea, al clic si deve aprire un menu con le info e con il pulsante di rimozione
|
|
11
|
+
div.addEventListener('click', () => {
|
|
12
|
+
div.remove();
|
|
13
|
+
});
|