visualization-tools

Home > @visualization-tools/core > OnEntityRemoved

OnEntityRemoved class

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>

Constructors

Constructor Modifiers Description
(constructor)(onEntityRemoved)   Constructs a new instance of the OnEntityRemoved class

Properties

Property Modifiers Type Description
callbackKey static “onEntityRemoved”  
onEntityRemoved   (…args: TEntityRemovedArgs<TRequiredTraits>) => void  

Methods

Method Modifiers Description
emit(eventService, entity) static  
registerListener(owner, onEvent) static  
registerOneTimeListener(owner, onEvent) static