add worked event update

This commit is contained in:
rewin
2024-02-27 21:24:26 +03:00
parent 9f8553f24f
commit 748aa70bcf
3 changed files with 117 additions and 46 deletions
+12
View File
@@ -0,0 +1,12 @@
import {type InspectorChanged} from "@storyteller/studio";
document.addEventListener('inspector-changed', (event) => {
// Cast the event to the InspectorDomChanged type to access its details in TypeScript
const customEvent = event as InspectorChanged;
const data = customEvent['detail'];
//print to console
console.log(data);
});
+2
View File
@@ -1 +1,3 @@
import "./app/app.element";
import "./inspector_dummy";