Skip to content

Commit

Permalink
Updated references to vue-scrollTo
Browse files Browse the repository at this point in the history
  • Loading branch information
rigor789 committed Mar 6, 2017
1 parent 93ffb06 commit 79d3db1
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
18 changes: 9 additions & 9 deletions README.md
@@ -1,8 +1,8 @@
# vue-scrollTo
[![npm](https://img.shields.io/npm/v/vue-scrollTo.svg)](https://www.npmjs.com/package/vue-scrollTo)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/rigor789/vue-scrollTo/blob/master/LICENSE)
# vue-scrollto
[![npm](https://img.shields.io/npm/v/vue-scrollto.svg)](https://www.npmjs.com/package/vue-scrollto)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/rigor789/vue-scrollto/blob/master/LICENSE)

[DEMO](https://rigor789.github.io/vue-scrollTo/)
[DEMO](https://rigor789.github.io/vue-scrollto/)

This is a [Vue.js](https://github.com/vuejs/vue) directive that
can scroll to elements on the page.
Expand All @@ -26,8 +26,8 @@ $ npm install vue-scrollto --save
### As a directive
```js
var Vue = require('vue');
var vueScrollTo = require('vue-scrollTo');
Vue.use(vueScrollTo);
var vueScrollto = require('vue-scrollto');
Vue.use(vueScrollto);
```

```html
Expand All @@ -51,10 +51,10 @@ You can also use an object literal to pass in options:
### Programatically

```js
var vueScrollTo = require('vue-scrollTo');
var vueScrollto = require('vue-scrollto');

var options = {
easing: vueScrollTo.easing['ease-in'],
easing: vueScrollto.easing['ease-in'],
offset: -60,
onDone: function() {
// scrolling is done
Expand All @@ -64,7 +64,7 @@ var options = {
}
}

vueScrollTo.scrollTo(element, duration, options)
vueScrollto.scrollTo(element, duration, options)
```

#### Customize easing
Expand Down
6 changes: 3 additions & 3 deletions example/client.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/client.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions example/index.html
Expand Up @@ -2,9 +2,9 @@
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<title>vue-scrollTo examples</title>
<link href="/vue-scrollTo/client.css" rel="stylesheet"></head>
<title>vue-scrollto examples</title>
<link href="/vue-scrollto/client.css" rel="stylesheet"></head>
<body>
<div id="app"></div>
<script type="text/javascript" src="/vue-scrollTo/client.js"></script></body>
<script type="text/javascript" src="/vue-scrollto/client.js"></script></body>
</html>
4 changes: 2 additions & 2 deletions examples.config.js
Expand Up @@ -6,12 +6,12 @@ module.exports = {
},

html: {
title: 'vue-scrollTo examples'
title: 'vue-scrollto examples'
},

webpack: {
output: {
publicPath: '/vue-scrollTo/'
publicPath: '/vue-scrollto/'
}
}
}
4 changes: 2 additions & 2 deletions examples.vue
@@ -1,6 +1,6 @@
<template>
<div class="Index">
<a href="https://github.com/rigor789/vue-scrollTo"><img style="position: absolute; top: 0; right: 0; border: 0;"
<a href="https://github.com/rigor789/vue-scrollto"><img style="position: absolute; top: 0; right: 0; border: 0;"
src="https://camo.githubusercontent.com/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67"
alt="Fork me on GitHub"
data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"></a>
Expand All @@ -9,7 +9,7 @@
</p>

<h1 class="center">
vue-scrollTo Examples
vue-scrollto Examples
</h1>

<p class="center">
Expand Down

0 comments on commit 79d3db1

Please sign in to comment.