Fix connection-removed event data
This commit is contained in:
@@ -240,7 +240,7 @@ export class TpFlowNodes extends zoom(panning(connections(LitElement))) {
|
||||
_dispatchChangeEvent(detail = {}) {
|
||||
this.dispatchEvent(new CustomEvent('flow-changed', {
|
||||
detail: {
|
||||
type: detail.type, // Type of change: 'node-added', 'node-removed', 'node-moved', 'connection-added', 'node-data-changed'.
|
||||
type: detail.type, // Type of change: 'node-added', 'node-removed', 'node-moved', 'connection-added', 'connection-removed', 'node-data-changed'.
|
||||
data: detail.data,
|
||||
},
|
||||
bubbles: true,
|
||||
|
||||
Reference in New Issue
Block a user