IInvertableSelectionHandler
Home > @gooddata/sdk-ui-filters > IInvertableSelectionHandler
IInvertableSelectionHandler interface
Handles the selection that can be inverted.
Signature:
export interface IInvertableSelectionHandler<T extends InvertableSelection<any>>
Properties
| Property | Type | Description |
|---|---|---|
| onSelectionChanged | CallbackRegistration<OnSelectionChangedCallbackPayload<T>> | Registers a callback that will be fired when the selection changes. Returns unsubscribe function, that will unregister it, once called.Multiple callbacks can be registered by this function. |
Methods
| Method | Description |
|---|---|
| changeSelection(selection) | Change the selection. |
| clearSelection() | Clear the current selection. |
| getSelection() | Returns the current selection. |
| invertSelection() | Invert the current selection. |