Bug Tracker

Modify

Ticket #2556 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

UI.slider plugin

Reported by: istvano Owned by: joern
Priority: critical Milestone: 1.2.4
Component: ui Version: 1.2.3
Keywords: slider Cc:
Blocking: Blocked by:

Description

Hello,

I would like to re-program the slider once it has been created to support dynamic stepping,

sometimes I need 5 steps sometimes just 2 sometimes 20 steps on my slider:

I did the following as an example:

I create a slider:

this._slider = $("#slider").slider({

startValue:0, minValue: 0, maxValue: 9, stepping: 1,

});

It creates the slider, and works fine, later in my code,

I do the following:

this._slider.data("stepping.slider", 1); this._slider.data("minValue.slider", 0); this._slider.data("maxValue.slider", 4);

It still have 9 steps and, even if I check it later on with a new call what does the data holds, gives me back min:0, max: 4, stepping:1, but still the slider itself has 9 steps etc.

Thanks for any help,

Istvan

Change History

comment:1 Changed 5 years ago by istvano

Sorry I have tested it in FF2

comment:2 Changed 5 years ago by paul

  • Owner changed from paul to joern

comment:3 Changed 5 years ago by paul

  • Status changed from new to closed
  • Resolution set to fixed

This is fixed. (Caution: The options were renamed to max/min)

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.