Home > widget-integration > FilterRender > attachKeyboardInteraction
FilterRender.attachKeyboardInteraction() method
Attaches keyboard arrow-key navigation to a slider handle. Moves the handle by sliderStep on ArrowLeft/ArrowRight, debounced to 500 ms.
Signature:
protected attachKeyboardInteraction(handle: HTMLElement, type: "lower" | "upper", ctx: RangeSliderContext): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
handle |
HTMLElement | |
|
type |
"lower" | "upper" | |
|
ctx |
Returns:
void