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)
Last updated 2 years ago by yokiyokiyoki .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install v-fullpage 
SYNC missed versions from official npm registry.

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

Property Description Type Default
direction 滚动方向('vertical'或'horizontal') String 'vertical'

Callback

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

api

通过 ref 调用组件内部 api

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

License

MIT

Current Tags

  • 0.9.2                                ...           latest (2 years ago)

11 Versions

  • 0.9.2                                ...           2 years ago
  • 0.9.1                                ...           2 years ago
  • 0.9.0                                ...           2 years ago
  • 0.8.0                                ...           2 years ago
  • 0.7.0                                ...           2 years ago
  • 0.6.0                                ...           2 years ago
  • 0.5.0                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 7
Last Day 0
Last Week 1
Last Month 8
Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |