Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Timeline 时间轴] Timeline.Item 希望新增点击事件回调 #2495

Closed
SnowChasm opened this issue Sep 5, 2023 · 5 comments
Closed

[Timeline 时间轴] Timeline.Item 希望新增点击事件回调 #2495

SnowChasm opened this issue Sep 5, 2023 · 5 comments
Labels
to be published fixed, not be published

Comments

@SnowChasm
Copy link

SnowChasm commented Sep 5, 2023

这个功能解决了什么问题

希望在 Timeline.Item 上增加 onClick 回调,用于用户点击时的反馈

你建议的方案是什么

增加 onClick 方法导出

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2023

👋 @SnowChasm,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@HaixingOoO
Copy link
Collaborator

@SnowChasm 自定义内容上面添加图标或者按钮,用户点击反馈是不是好一点?😊

@SnowChasm
Copy link
Author

@SnowChasm 自定义内容上面添加图标或者按钮,用户点击反馈是不是好一点?😊

这个其实和需求相关,有时候需要点击整个 item,执行相关逻辑。目前的组件就做不了这个

@HaixingOoO
Copy link
Collaborator

@SnowChasm 自定义内容上面添加图标或者按钮,用户点击反馈是不是好一点?😊

这个其实和需求相关,有时候需要点击整个 item,执行相关逻辑。目前的组件就做不了这个

看大佬讨论一下吧。 @uyarn

@HaixingOoO HaixingOoO added the 💭 discussion we are discussing label Sep 28, 2023
@HaixingOoO HaixingOoO added to be published fixed, not be published and removed 💭 discussion we are discussing labels Oct 11, 2023
@uyarn uyarn reopened this Oct 18, 2023
@uyarn
Copy link
Collaborator

uyarn commented Oct 19, 2023

supported in 1.3.0

@uyarn uyarn closed this as completed Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

3 participants