PropertyTable 생성
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user