PropertyTable 생성

This commit is contained in:
현성필
2024-01-19 21:10:57 +09:00
parent dba414cb4a
commit 924196b629
33 changed files with 1067 additions and 368 deletions
+3 -10
View File
@@ -13,7 +13,6 @@ class APIScenario {
}
init() {
console.log('init');
this.loadScenarioList();
this.outputEditor = monaco.editor.create(document.getElementById('output'), {
value: '',
@@ -27,15 +26,9 @@ class APIScenario {
this.editor.reroute_fix_curvature = true;
this.editor.force_first_input = true;
this.editor.start();
this.editor.on('contextmenu', (event)=> {
console.log(event);
console.log('contextmenu');
//get class of target node
console.log(event.target.id);
let node = this.editor.getNodeFromId(event.target.id);
console.log(node);
})
// this.editor.on('contextmenu', (event) => {
// let node = this.editor.getNodeFromId(event.target.id);
// })
this.showOutput = true;
}