We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a562593 commit 4333d1eCopy full SHA for 4333d1e
src/index.js
@@ -1,5 +1,5 @@
1
import VueScrollTo from './directive'
2
-import { setDefaults } from './scrollTo'
+import { setDefaults, scroller } from './scrollTo'
3
4
const install = function(Vue, options) {
5
if (options) setDefaults(options)
@@ -10,6 +10,7 @@ const install = function(Vue, options) {
10
if (typeof window !== 'undefined' && window.Vue) {
11
window.VueScrollTo = VueScrollTo
12
window.VueScrollTo.setDefaults = setDefaults
13
+ window.VueScrollTo.scroller = scroller
14
window.Vue.use(install)
15
}
16
0 commit comments