visualization-tools

Home > @visualization-tools/core > OnEntityAddedToGroup

OnEntityAddedToGroup class

Emitted on entity being added to a group, not emitted if entity is already in the group.

Signature:

export declare class OnEntityAddedToGroup<TTraits> implements TOnEntityAddedToGroup<TTraits> 

Implements: TOnEntityAddedToGroup<TTraits>

Constructors

Constructor Modifiers Description
(constructor)(onEntityAddedToGroup)   Constructs a new instance of the OnEntityAddedToGroup class

Properties

Property Modifiers Type Description
callbackKey static “onEntityAddedToGroup”  
onEntityAddedToGroup   (…args: TEntityAddedToGroupArgs<TTraits>) => void  

Methods

Method Modifiers Description
emit(plot, entity, group) static  
registerListener(plot, onEvent) static  
registerOneTimeListener(plot, onEvent) static