Closed ghost closed 3 years ago
The noUi-target
class is added when the slider is initialized.
Do you have a flowchart or similar for this?
noUiSlider.create -> initialize -> calls scope -> calls setupSlider with no arguments -> calls addSlider -> add slider calls addClass functions that are appended to the root element that was provided when calling the noUiSlider.create function noUi-target noUi-ltr noUi-horizontal noUi-txt-dir-ltr
-> calls addNodeTo the target element with css classes base.
Correct?
Yes, the slider is initialized on create
and that's when classes are added.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hello, I want to make the sliders usable for Form elements and I need to know at what point the
noUi-target
class is added to the root element. I can't find it.