Home > @visualization-tools/core > OnEntityAdded
Emitted on entity added to plot.
Signature:
export declare class OnEntityAdded<TRequiredTraits> implements TOnEntityAdded<TRequiredTraits>
Implements: TOnEntityAdded<TRequiredTraits>
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(onEntityAdded) | Constructs a new instance of the OnEntityAdded class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| callbackKey | static |
“onEntityAdded” | |
| onEntityAdded | (…args: TEntityAddedArgs<TRequiredTraits>) => void |
| Method | Modifiers | Description |
|---|---|---|
| emit(eventService, entity) | static |
|
| registerListener(owner, onEvent) | static |
|
| registerOneTimeListener(owner, onEvent) | static |