You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a simple way to select the slider using js?
In the noUISlider documentation they make use of a lot of methods such as:
slider.noUiSlider.getPositions();
Ideally Id like to be able to access this property and make changes to some elements css dynamically as the user moves a slider.
However, As I didn't initialize the slider myself I have no idea how to call it.
my template uses <x-range-slider id="order-price-slider" :options="$options" wire:model="selectedPrice" />
Ive tried order-price-slider.noUiSlider.getPositions()to no avail.
I'm sure this is my issue as opposed to a fault I'm just not sure how to get around it.
The text was updated successfully, but these errors were encountered:
Is there a simple way to select the slider using js?
In the noUISlider documentation they make use of a lot of methods such as:
slider.noUiSlider.getPositions();
Ideally Id like to be able to access this property and make changes to some elements css dynamically as the user moves a slider.
However, As I didn't initialize the slider myself I have no idea how to call it.
my template uses
<x-range-slider id="order-price-slider" :options="$options" wire:model="selectedPrice" />
Ive tried
order-price-slider.noUiSlider.getPositions()
to no avail.I'm sure this is my issue as opposed to a fault I'm just not sure how to get around it.
The text was updated successfully, but these errors were encountered: