vue 虚拟键盘组件_聊天的虚拟列表组件

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

该存储库包含

  1. The source files for the Vue component

    Vue组件的源文件

  2. Scripts to built your own packaged versions via rollup

    通过汇总构建自己的打包版本的脚本

  3. 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 虚拟键盘组件

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值