Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

fix(helper): fix helpers to handle RangeSlider in vue-instantsearch #12

Merged
merged 2 commits into from
Oct 14, 2019

Conversation

yannickcr
Copy link
Contributor

In vue-instantsearch the RangeSlider widget has some different HTML structure and CSS classes.

This change updates the dragRangeSliderLowerBoundTo, dragRangeSliderUpperBoundTo, getRangeSliderLowerBoundValue and getRangeSliderUpperBoundValue helpers to find the wanted elements using different CSS classes.

Additionally the selectors were moved to a different file so we can more easily reuse and update them.

@yannickcr yannickcr requested a review from a team October 14, 2019 08:46
helpers/selectors.ts Outdated Show resolved Hide resolved
@yannickcr yannickcr merged commit 143a59b into master Oct 14, 2019
@yannickcr yannickcr deleted the fix/rangeslider-vue branch October 14, 2019 13:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants