el-cascader-virtual-scroll

0.0.1 • Public • Published

el-cascader-virtual-scroll

基于element@2.15.13封装的cascader组件,增加虚拟滚动功能,优化级联数据量过大dom节点太多导致页面卡顿.

Installation

yarn add el-cascader-virtual-scroll

Examples

<template>
  <div class="demo0">
    <ElCascaderVirtualScroll
      :options="options"
      clearable
      :props="{
        height: 300,
        rowHeight: 50
      }"
    ></ElCascaderVirtualScroll>
  </div>
</template>

Build Setup

# 安装依赖
yarn run bootstrap

# serve with hot reload at localhost:9009 启动本地开发调试环境
yarn dev

# build for dev with minification 压缩打包发布生产环境代码
yarn build

Readme

Keywords

none

Package Sidebar

Install

npm i el-cascader-virtual-scroll

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

85.9 kB

Total Files

3

Last publish

Collaborators

  • zane626