mirror of
https://gitee.com/antv/g6.git
synced 2024-12-04 20:59:15 +08:00
feat: graph.priorityState & event mode
This commit is contained in:
parent
eb4339dff0
commit
783a1da248
@ -163,6 +163,8 @@ export default class EventController {
|
||||
if (evt.name && !evt.name.includes(':')) graph.emit(`${type}:${eventType}`, evt); // emit('node:click', evt)
|
||||
else graph.emit(evt.name, evt); // emit('text-shape:click', evt)
|
||||
|
||||
graph.emit(evt.name, evt);
|
||||
|
||||
if (eventType === 'dragstart') {
|
||||
this.dragging = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user