Closed dka09 closed 8 years ago
Is it possible to set the step to start on when initializing dragdealer similar to how you can give an x value?
Using the setStep function after initialising dragdealer allows you to see the bar moving to the position. I want it to be there on load.
EDIT: Or how could I calculate the x value of a certain step and I can just set that?
I calculate the x value by doing (step - 1) / (totalSteps - 1) and set x.
(step - 1) / (totalSteps - 1)
Is it possible to set the step to start on when initializing dragdealer similar to how you can give an x value?
Using the setStep function after initialising dragdealer allows you to see the bar moving to the position. I want it to be there on load.
EDIT: Or how could I calculate the x value of a certain step and I can just set that?