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

✨ [Feature]: Carousel 是否可以考虑增加 Trigger 和 Pagination 部分的自定义渲染插槽 #1894

Open
CoderSerio opened this issue Jun 18, 2024 · 0 comments
Labels
enhancement Feature enhancement

Comments

@CoderSerio
Copy link

What problem does this feature solve

现状

固定的渲染样式,不太灵活:

image

What does the proposed API look like

解决思路

新增 left-trigger, right-trigger, pagination 三处的自定义渲染插槽,并对三者提供当前图片 index 的上下文信息——以满足【处于第一张图片时不渲染 left-trigger】或 【处于最后一张图片时不渲染 right-trigger】等场景需求。

补充

如果这里确认需要调整的话,希望作为 good first issue。

@fu050409 fu050409 added the enhancement Feature enhancement label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature enhancement
Projects
None yet
Development

No branches or pull requests

2 participants