New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

v-fullpage

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-fullpage

![image](https://img.shields.io/badge/vue-2.5.17-blue.svg) ![image](https://img.shields.io/badge/vue--cli-3.0.0-green.svg)

latest
Source
npmnpm
Version
0.9.2
Version published
Weekly downloads
6
20%
Maintainers
1
Weekly downloads
 
Created
Source

vue-fullpage

image image

A Vue.js components

Install

$ npm install v-fullpage

Usage

import Vue from "vue";
import fullpage from "v-fullpage";

Vue.use(fullpage);

or

<script src="vue.min.js"></script>
<!-- must place this line after vue.js -->
<script src="v-fullpage.umd.min.js"></script>

Demo

<!-- default -->
<!-- 依赖于父级元素的大小,占满父级元素 -->
<v-fullpage>
  <div slot="section"></div>
  <div slot="section"></div>
</v-fullpage>

Options

PropertyDescriptionTypeDefault
direction滚动方向('vertical'或'horizontal')String'vertical'

Callback

NameDescription
leaveSlide滑动之后,参数是当前 index

api

通过 ref 调用组件内部 api

NameDescription
setAllowScrolling传入 true/false,禁止滚动/开放滚动事件

License

MIT

Keywords

vue

FAQs

Package last updated on 29 Mar 2019

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