Home > widget-integration > FilterRender > attachInputBlurHandler

FilterRender.attachInputBlurHandler() method

Attaches a blur handler that validates the typed value and calls applySliderValue when the committed value differs from the current slider state. Uses blur (not change) so it only fires on actual user interaction.

Signature:

protected attachInputBlurHandler(input: HTMLInputElement, type: "lower" | "upper", ctx: RangeSliderContext): void;

Parameters

Parameter

Type

Description

input

HTMLInputElement

type

"lower" | "upper"

ctx

RangeSliderContext

Returns:

void