wip
This commit is contained in:
@@ -185,4 +185,15 @@ export class TpFlowNode extends LitElement {
|
||||
this.style.transform = `translate(${data.position.x}px, ${data.position.y}px)`;
|
||||
}
|
||||
}
|
||||
|
||||
dispatchDataUpdate() {
|
||||
this.dispatchEvent(new CustomEvent('flow-changed', {
|
||||
detail: {
|
||||
type: 'node-data-changed',
|
||||
data: this.exportData()
|
||||
},
|
||||
bubbles: true,
|
||||
composed: true
|
||||
}));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user