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

图片预览组件是否支持视频或者加一个插槽 #7828

Open
1 task
zhigge opened this issue Sep 9, 2024 · 0 comments
Open
1 task

图片预览组件是否支持视频或者加一个插槽 #7828

zhigge opened this issue Sep 9, 2024 · 0 comments

Comments

@zhigge
Copy link

zhigge commented Sep 9, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

在图片和视频混合在一起的时候,即可浏览图片也可浏览视频。视频默认展示封面

What does the proposed API look like?

直接加视频可能对拓展性不友好。我建议加一个插槽类型的。这样可以自由的组合。当然最后加一些区分,让我们可以自己配置一些加载方式,播放方式等

  <a-image-preview-group>
    <a-image :width="200" src="https://aliyuncdn.antdv.com/vue.png" />
    <a-image :width="200" src="https://aliyuncdn.antdv.com/logo.png" />
  </a-image-preview-group>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant