snapWithin

fun <T : Number> snapWithin(distance: T): SnappingPolicy<T>(source)

Return

a SnappingPolicy that snaps when the slider is within a given distance to a value.