Skip to content

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

Open
@CoderSerio

Description

@CoderSerio

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。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions