Opened 6 years ago

Closed 2 years ago

Last modified 2 years ago

#7630 closed feature (fixed)

Slider index shall be accessible in event handlers

Reported by: baton Owned by:
Priority: minor Milestone: 1.12.0
Component: ui.slider Version: 1.8.15
Keywords: Cc:
Blocked by: Blocking:

Description

all events are having 'ui' parameter passed which contains handle and value(s) but does not contain 'index' of a handle that is being worked on (for multiple handles only)

maybe it shall be considered to be added to the 'ui' object passed to event handlers? (e.g. as 'ui.index')

Change History (7)

comment:1 Changed 5 years ago by scottgonzalez

  • Type changed from enhancement to feature

comment:2 Changed 4 years ago by scottgonzalez

  • Milestone changed from 1.9.0 to 1.11.0

comment:3 Changed 4 years ago by davenaeder

  • Status changed from new to open

We should consider this when reevaluating the slider component.

comment:4 Changed 3 years ago by scottgonzalez

  • Milestone changed from 1.11.0 to none

comment:6 Changed 2 years ago by Ablay Keldibek

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

Slider: Pass handle index to events

Added a handleIndex property to the event data which indicates the index of the handle being changed.

Fixes #7630 Closes gh-1486

Changeset: 6111b17710ab4e14bb119e735de9cfa9285badab

comment:7 Changed 2 years ago by scottgonzalez

  • Milestone changed from none to 1.12.0
Note: See TracTickets for help on using tickets.