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 Scott González

Type: enhancementfeature

comment:2 Changed 5 years ago by Scott González

Milestone: 1.9.01.11.0

comment:3 Changed 5 years ago by davenaeder

Status: newopen

We should consider this when reevaluating the slider component.

comment:4 Changed 3 years ago by Scott González

Milestone: 1.11.0none

comment:6 Changed 2 years ago by Ablay Keldibek

Resolution: fixed
Status: openclosed

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 Scott González

Milestone: none1.12.0
Note: See TracTickets for help on using tickets.