mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-29 09:08:58 +00:00
add worked event update
This commit is contained in:
@@ -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);
|
||||
|
||||
});
|
||||
@@ -1 +1,3 @@
|
||||
import "./app/app.element";
|
||||
|
||||
import "./inspector_dummy";
|
||||
Reference in New Issue
Block a user