lyne-components icon indicating copy to clipboard operation
lyne-components copied to clipboard

[Feature request]: Add details to tab click event

Open liviakuenzli opened this issue 2 years ago • 1 comments

Request type

Request for enhancement of a component

Functionality

When clicking a tab-title, the tab-group is emitting an event. However, the event is lacking details; e.g. we do not know which item has been clicked. We would have to go through all the children and find the active one.

We propose to instead have the new activeIndex/tab-title element directly in the Event (event.details).

Is there a design proposal?

No

Link to design proposal file (optional)

No response

Preflight Checklist

  • [X] I have read the Contributing Guidelines for this project.
  • [X] I agree to follow the Code of Conduct that this project adheres to.
  • [X] I have searched the issue tracker for an issue that matches the one I want to file, without success.

liviakuenzli avatar Aug 25 '22 06:08 liviakuenzli