Home > @visualization-tools/core > OnEntityRemoved
Emitted on entity removed from plot, if the entity is not present this is not emitted.
Signature:
export declare class OnEntityRemoved<TRequiredTraits> implements TOnEntityRemoved<TRequiredTraits>
Implements: TOnEntityRemoved<TRequiredTraits>
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(onEntityRemoved) | Constructs a new instance of the OnEntityRemoved class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| callbackKey | static |
“onEntityRemoved” | |
| onEntityRemoved | (…args: TEntityRemovedArgs<TRequiredTraits>) => void |
| Method | Modifiers | Description |
|---|---|---|
| emit(eventService, entity) | static |
|
| registerListener(owner, onEvent) | static |
|
| registerOneTimeListener(owner, onEvent) | static |