Interface SurfaceGroupMemberRemovedParams

Payload for a group:member:removed event from the Surface.

interface SurfaceGroupMemberRemovedParams {
    el: Element;
    group: Group;
    groupEl: Element;
    pos: PointXY;
    targetGroup?: Group;
    vertex: Node | Group;
}

Hierarchy (view full)

Properties

el: Element

DOM element representing the member that was added to the group

group: Group

Group the vertex was removed from

groupEl: Element

DOM element representing the group

pos: PointXY

Position the member that was removed was located at.

targetGroup?: Group

If the vertex is being moved to some other group, that group is provided here.

vertex: Node | Group

Vertex that was removed from the group

Version :