A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/YvesCoding/vuescroll below:

YvesCoding/vuescroll: A customizable scrollbar plugin based on vue.js for PC , mobile phone, touch screen, laptop.

Vuescroll is a scrollbar plugin based on Vue.js 2.X, it is very easy to use, no complex options and each option has its default value(It means you don't even have to write any configuration). Just wrap the content by <vue-scroll> and a custom scrollbar will show. It supports:

vue version vuescroll version 2.x <=4.X 3.x >=5.0.0
npm i vuescroll -S

# OR

yarn add vuescroll
import vuescroll from 'vuescroll';
import Vue from 'vue';

Vue.use(vuescroll, {
  ops: {
    // The global config
  },
  name: 'myScroll' // customize component name, default -> vueScroll
});

// OR

Vue.component('vue-scroll', vuescroll);
import { createApp } from 'vue';
import vuescroll from 'vuescroll';

const app = createApp(App);

// You can set global config here.
app.use(vuescroll, {
  ops: {
    // The global config
  },
  name: 'myScroll' // customize component name, default -> vueScroll
});
Wrap the content by vue-scroll
<div class="container">
  <vue-scroll>
    <div class="content"></div>
  </vue-scroll>
</div>

For detailed docs, please see Guide section on the website.

@wangyi70991

MIT By Yves Wang(Wangyi Yi)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4