@foxone/vue-scroll
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

@foxone/vue-scroll

English | 简体中文

Demo

Quick start

Install

npm i -S @foxone/vue-scroll
# or
yarn add @foxone/vue-scroll
# or
pnpm i -S @foxone/vue-scroll

Usage

import Vue from "vue";
import Scroll from '@foxone/vue-scroll';
import "@foxone/vue-scroll/es/index.css";

Vue.use(Scroll);
<f-scroll
  :data="data"
  :pulldown="true"
  :pullup="true"
  @pulldown="loadData(true)"
  @pullup="loadData"
>
  <section>
    <div v-for="(item, ind) in data" :key="item.id || ind">
      {{ item.name }}
    </div>
  </section>
</f-scroll>

Dev

For debugging or maintenance, you can clone the whole git repository and run the project:

git clone --depth 1

yarn && yarn dev

More Detials

Readme

Keywords

none

Package Sidebar

Install

npm i @foxone/vue-scroll

Weekly Downloads

1

Version

0.1.3

License

ISC

Unpacked Size

186 kB

Total Files

51

Last publish

Collaborators

  • zhangyh4382
  • lyricat
  • divisey
  • bobby.li