Home > @visualization-tools/core > IHitTestableGroup
Entities in this group must implement IHitTestableTrait and have an associated IHitAllowedComponent and IHitTestComponent which can be accessed through the group. Hit test composition is not currently supported.
Signature:
export interface IHitTestableGroup<TPlotRange extends IPlotRange, TUpdateArg, TComponentState> extends IReadonlyEntityGroup<IHitTestableTrait>
Extends: IReadonlyEntityGroup<IHitTestableTrait>
May be shared by multiple interaction groups, entities should not be added to this group through the plot, this is done by the interaction group. When implementing an interaction group these should use the reference counting methods refCountingAddEntity and refCountingRemoveEntity.
| Property | Type | Description |
|---|---|---|
| argProvider | IEntityUpdateArgProvider<TPlotRange, TUpdateArg, unknown> |
| Method | Description |
|---|---|
| getEntitiesByHitTester() | |
| getHitTester(entity) | |
| refCountingAddEntity(entity, options) | |
| refCountingRemoveEntity(entity) |