Home > widget-integration > FilterRender > sliderCleanupMap

FilterRender.sliderCleanupMap property

Tracks drag-listener cleanup functions per filter option. Keyed by filterOptionId (stable across DOM swaps) so that document-level mouseup/touchend listeners are always removed before re-registering, even when the slider Element itself is replaced by lazyLoadFilterTree.

Signature:

protected readonly sliderCleanupMap: Map<string, () => void>;