Class: abstract CosmographExclusiveSelectionComponent<TConfig, TUIComponent, TUIItem>
Internal
Abstract component that enforces exclusive selection across all instances. Only one component of this type can have an active selection at any time.
Extends
CosmographSelectionComponent<TConfig,TUIComponent>
Extended by
CosmographSearchCosmographBarsCosmographSizeLegendCosmographRangeColorLegendCosmographTypeColorLegend
Type Parameters
| Type Parameter | 
|---|
TConfig extends SelectionComponentConfig | 
TUIComponent extends SelectionUIComponent<TConfig> | 
TUIItem | 
Constructors
Constructor
new CosmographExclusiveSelectionComponent<
TConfig,TUIComponent,TUIItem>(cosmograph,targetElement,config):CosmographExclusiveSelectionComponent<TConfig,TUIComponent,TUIItem>
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
CosmographExclusiveSelectionComponent<TConfig, TUIComponent, TUIItem>
Inherited from
CosmographSelectionComponent.constructor
Methods
setConfig()
setConfig(
config):Promise<void>
Parameters
| Parameter | Type | 
|---|---|
config | Partial<TConfig> | 
Returns
Promise<void>
Inherited from
CosmographSelectionComponent.setConfig
remove()
remove():
void
Removes the component and cleans up event listeners
Returns
void