Class: abstract
CosmographInclusiveSelectionComponent<TConfig, TUIComponent>
Internal
Abstract component with methods for highlighting crossfiltered data by current links and points selection. Unlike exclusive components (which only allow one active selection), inclusive components can coexist with other selections.
Extends
CosmographSelectionComponent
<TConfig
,TUIComponent
>
Extended by
Type Parameters
Type Parameter |
---|
TConfig extends SelectionComponentConfig |
TUIComponent extends SelectionUIComponent <TConfig > |
Constructors
Constructor
new CosmographInclusiveSelectionComponent<
TConfig
,TUIComponent
>(cosmograph
,targetElement
,config
):CosmographInclusiveSelectionComponent
<TConfig
,TUIComponent
>
Constructs a filtering component that connects Cosmograph data to a UI component.
Parameters
Parameter | Type | Description |
---|---|---|
cosmograph | Cosmograph | The Cosmograph instance to connect to |
targetElement | HTMLElement | HTML element for rendering the UI component |
config | TConfig | Configuration for the filtering component |
Returns
CosmographInclusiveSelectionComponent
<TConfig
, TUIComponent
>
Inherited from
CosmographSelectionComponent
.constructor
Methods
remove()
remove():
void
Removes the component and cleans up event listeners
Returns
void
Overrides
CosmographSelectionComponent
.remove
setConfig()
setConfig(
config
):Promise
<void
>
Parameters
Parameter | Type |
---|---|
config | Partial <TConfig > |
Returns
Promise
<void
>