Interface GroupRemovedParams

Payload for a group removed event in the model

interface GroupRemovedParams {
    children: (Node | Group)[];
    group: Group;
    parentGroup?: Group;
    parentGroupIsBeingRemoved: boolean;
    removeChildren?: boolean;
}

Properties

children: (Node | Group)[]

If children were removed, this is the list of them

group: Group

Group that was removed

parentGroup?: Group

If the group was a member of some other group, that group is provided here

parentGroupIsBeingRemoved: boolean

Indicates that the group is being removed because some parent group is being removed and is forcing removal of its children.

removeChildren?: boolean

If true, indicates the group's children were also removed

Version :