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

建议增加slot使用方式 #408

Open
getwebtools opened this issue Jun 25, 2023 · 1 comment
Open

建议增加slot使用方式 #408

getwebtools opened this issue Jun 25, 2023 · 1 comment

Comments

@getwebtools
Copy link

getwebtools commented Jun 25, 2023

有时候并没有使用构建工具开发,仅仅是一个比较小的列表展示功能,直接使用了Vue的CDN版本,也没有使用子组件的方式去开发,这种情况如果需要用本组件就需要额外创建一个新的子组件,如果可以支持slot直接写就更好了,更方便使用CDN的方式去使用。
比如:
<virtual-list style="height: 500px;overflow: auto " make list scrollable :data-key="'id'" :data-sources="imgArr" > {{index}} </virtual-list>

@troy351
Copy link

troy351 commented Jul 19, 2023

好像是支持的 #404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants