Socket
Book a DemoInstallSign in
Socket

vue-scrolling-ul

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-scrolling-ul

auto scrolling ul list

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
3
50%
Maintainers
1
Weekly downloads
 
Created
Source

vue-scrolling-ul

This is a Vue component that provides a list of ul that scrolls automatically

Run Demo

$ npm i
$ npm run serve

Usage

1. Global Use in Vue-Cli Project

  • main.js(vue v2.0)
import Vue from "vue";
import ScrollingUl from "vue-scrolling-ul";

Vue.use(ScrollingUl);

new Vue({
	el: "#app",
	render: h => h(App)
});

2. Direct Use in Vue-Cli Project

  • App.vue
<template>
	<div id="app">
		<scrolling-ul>Some LI Tags ...</scrolling-ul>
	</div>
</template>

<script>
	import ScrollingUl from "vue-scorlling-ul";

	export default {
		name: "App",
		components: {
			ScrollingUl
		},
		data() {
			return {};
		}
	};
</script>

Keywords

vue

FAQs

Package last updated on 20 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts