We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9221bd1 commit 919ff90Copy full SHA for 919ff90
index.js
@@ -30,7 +30,7 @@ exports.install = function (Vue) {
30
31
if (typeof this.value === 'object') {
32
exports.scrollTo(this.value.el || this.value.element , this.value.duration || 500, {
33
- easing: this.value.easing || exports.easing['ease'],
+ easing: (typeof this.value.easing === 'string' ? exports.easing[this.value.easing] : this.value.easing) || exports.easing['ease'],
34
offset: this.value.offset || 0
35
})
36
} else {
0 commit comments