vue 虚拟键盘组件
虚拟流 (vue-virtual-stream)
A virtualized list component for chats, comment lists and streams in general.
通常用于聊天,评论列表和流的虚拟列表组件。
This Vue component can be used to build large lists of virtual components without a limited amount of items (For example chats, comment sections, streams, etc.). It's not optimized for fetched data yet but will be optimized in the future.
该Vue组件可用于构建虚拟组件的大型列表,而没有数量有限的项目(例如,聊天,评论部分,流等)。 尚未针对获取的数据进行优化,但将来会进行优化。
This repository contains
该存储库包含
The source files for the Vue component
Vue组件的源文件
Scripts to built your own packaged versions via rollup
通过汇总构建自己的打包版本的脚本
An example demo
示范范例
例 (Example)
<template>
<div class="my-component">
<VirtualStream :items="myItems" :count="100" :offset="20">
<template slot-scope="{ item, index }">
<div>{{ item.text }} - {{ index }}</div>
</template>
</VirtualStream>
</div>
</template>
翻译自: https://vuejsexamples.com/a-virtualized-list-component-for-chats/
vue 虚拟键盘组件