Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dadajam4/vue-scroller

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dadajam4/vue-scroller - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

types/directives/index.d.ts

44

dist/vue-scroller.common.js
/*!
* vue-scroller v0.0.1
* vue-scroller v0.0.2
* (c) 2019 dadajam4

@@ -627,2 +627,42 @@ * Released under the MIT License.

var elementTick = function elementTick(el, binding, vnode) {
var context = vnode.context;
if (!context) return;
var $window = context.$window;
if (!$window) return;
var value = binding.value;
if (typeof value === 'function') value = value();
if (value === undefined || !!value) {
$window.pushScrollStopper(el);
} else {
$window.removeScrollStopper(el);
}
};
var inserted = function inserted(el, binding, vnode) {
elementTick(el, binding, vnode);
};
var componentUpdated = function inserted(el, binding, vnode) {
elementTick(el, binding, vnode);
};
var unbind = function unbind(el, binding, vnode) {
var context = vnode.context;
if (!context) return;
var $window = context.$window;
if (!$window) return;
$window.removeScrollStopper(el);
};
var directiveOptions = {
inserted: inserted,
componentUpdated: componentUpdated,
unbind: unbind
};
var scrollstop = _objectSpread({
name: 'scrollstop'
}, directiveOptions);
var plugin = {

@@ -640,2 +680,3 @@ installed: false,

Vue.prototype.$window = $window;
Vue.directive(scrollstop.name, scrollstop);
this.installed = true;

@@ -647,1 +688,2 @@ }

exports.default = plugin;
exports.scrollstop = scrollstop;
/*!
* vue-scroller v0.0.1
* vue-scroller v0.0.2
* (c) 2019 dadajam4

@@ -621,2 +621,42 @@ * Released under the MIT License.

var elementTick = function elementTick(el, binding, vnode) {
var context = vnode.context;
if (!context) return;
var $window = context.$window;
if (!$window) return;
var value = binding.value;
if (typeof value === 'function') value = value();
if (value === undefined || !!value) {
$window.pushScrollStopper(el);
} else {
$window.removeScrollStopper(el);
}
};
var inserted = function inserted(el, binding, vnode) {
elementTick(el, binding, vnode);
};
var componentUpdated = function inserted(el, binding, vnode) {
elementTick(el, binding, vnode);
};
var unbind = function unbind(el, binding, vnode) {
var context = vnode.context;
if (!context) return;
var $window = context.$window;
if (!$window) return;
$window.removeScrollStopper(el);
};
var directiveOptions = {
inserted: inserted,
componentUpdated: componentUpdated,
unbind: unbind
};
var scrollstop = _objectSpread({
name: 'scrollstop'
}, directiveOptions);
var plugin = {

@@ -634,2 +674,3 @@ installed: false,

Vue.prototype.$window = $window;
Vue.directive(scrollstop.name, scrollstop);
this.installed = true;

@@ -640,2 +681,2 @@ }

export default plugin;
export { VueScroller$1 as VueScroller };
export { VueScroller$1 as VueScroller, scrollstop };
/*!
* vue-scroller v0.0.1
* vue-scroller v0.0.2
* (c) 2019 dadajam4

@@ -627,2 +627,42 @@ * Released under the MIT License.

var elementTick = function elementTick(el, binding, vnode) {
var context = vnode.context;
if (!context) return;
var $window = context.$window;
if (!$window) return;
var value = binding.value;
if (typeof value === 'function') value = value();
if (value === undefined || !!value) {
$window.pushScrollStopper(el);
} else {
$window.removeScrollStopper(el);
}
};
var inserted = function inserted(el, binding, vnode) {
elementTick(el, binding, vnode);
};
var componentUpdated = function inserted(el, binding, vnode) {
elementTick(el, binding, vnode);
};
var unbind = function unbind(el, binding, vnode) {
var context = vnode.context;
if (!context) return;
var $window = context.$window;
if (!$window) return;
$window.removeScrollStopper(el);
};
var directiveOptions = {
inserted: inserted,
componentUpdated: componentUpdated,
unbind: unbind
};
var scrollstop = _objectSpread({
name: 'scrollstop'
}, directiveOptions);
var plugin = {

@@ -640,2 +680,3 @@ installed: false,

Vue.prototype.$window = $window;
Vue.directive(scrollstop.name, scrollstop);
this.installed = true;

@@ -647,2 +688,3 @@ }

exports.default = plugin;
exports.scrollstop = scrollstop;

@@ -649,0 +691,0 @@ Object.defineProperty(exports, '__esModule', { value: true });

4

dist/vue-scroller.min.js
/*!
* vue-scroller v0.0.1
* vue-scroller v0.0.2
* (c) 2019 dadajam4
* Released under the MIT License.
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("@dadajam4/scroller")):"function"==typeof define&&define.amd?define(["exports","vue","@dadajam4/scroller"],t):t((e=e||self).VueScroller={},e.Vue,e.Scroller)}(this,function(e,l,r){"use strict";function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function n(e){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function t(e,t,r,o){var n,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"===("undefined"==typeof Reflect?"undefined":u(Reflect))&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;0<=l;l--)(n=e[l])&&(c=(i<3?n(c):3<i?n(t,r,c):n(t,r))||c);return 3<i&&c&&Object.defineProperty(t,r,c),c}l=l&&l.hasOwnProperty("default")?l.default:l,r=r&&r.hasOwnProperty("default")?r.default:r;var a="undefined"!=typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys;function f(r,o,n){(n?Reflect.getOwnMetadataKeys(o,n):Reflect.getOwnMetadataKeys(o)).forEach(function(e){var t=n?Reflect.getOwnMetadata(e,o,n):Reflect.getOwnMetadata(e,o);n?Reflect.defineMetadata(e,t,r,n):Reflect.defineMetadata(e,t,r)})}var s={__proto__:[]}instanceof Array;var p=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function y(e,o){void 0===o&&(o={}),o.name=o.name||e._componentTag||e.name;var n=e.prototype;Object.getOwnPropertyNames(n).forEach(function(t){if("constructor"!==t)if(-1<p.indexOf(t))o[t]=n[t];else{var r=Object.getOwnPropertyDescriptor(n,t);void 0!==r.value?"function"==typeof r.value?(o.methods||(o.methods={}))[t]=r.value:(o.mixins||(o.mixins=[])).push({data:function(){var e;return(e={})[t]=r.value,e}}):(r.get||r.set)&&((o.computed||(o.computed={}))[t]={get:r.get,set:r.set})}}),(o.mixins||(o.mixins=[])).push({data:function(){return function(o,e){var t=e.prototype._init;e.prototype._init=function(){var e=this,t=Object.getOwnPropertyNames(o);if(o.$options.props)for(var r in o.$options.props)o.hasOwnProperty(r)||t.push(r);t.forEach(function(t){"_"!==t.charAt(0)&&Object.defineProperty(e,t,{get:function(){return o[t]},set:function(e){o[t]=e},configurable:!0})})};var r=new e;e.prototype._init=t;var n={};return Object.keys(r).forEach(function(e){void 0!==r[e]&&(n[e]=r[e])}),n}(this,e)}});var t=e.__decorators__;t&&(t.forEach(function(e){return e(o)}),delete e.__decorators__);var r=Object.getPrototypeOf(e.prototype),i=r instanceof l?r.constructor:l,c=i.extend(o);return function(n,i,c){Object.getOwnPropertyNames(i).forEach(function(e){if(!d[e]){var t=Object.getOwnPropertyDescriptor(n,e);if(!t||t.configurable){var r=Object.getOwnPropertyDescriptor(i,e);if(!s){if("cid"===e)return;var o=Object.getOwnPropertyDescriptor(c,e);if(!function(e){var t=u(e);return null==e||"object"!==t&&"function"!==t}(r.value)&&o&&o.value===r.value)return}Object.defineProperty(n,e,r)}}})}(c,e,i),a&&function(t,r){f(t,r),Object.getOwnPropertyNames(r.prototype).forEach(function(e){f(t.prototype,r.prototype,e)}),Object.getOwnPropertyNames(r).forEach(function(e){f(t,r,e)})}(c,e),c}var d={prototype:!0,arguments:!0,callee:!0,caller:!0};function v(t){return"function"==typeof t?y(t):function(e){return y(e,t)}}v.registerHooks=function(e){p.push.apply(p,e)};var h="undefined"!=typeof Reflect&&void 0!==Reflect.getMetadata;function b(r){return void 0===r&&(r={}),function(e,t){!function(e,t,r){h&&(Array.isArray(e)||"function"==typeof e||void 0!==e.type||(e.type=Reflect.getMetadata("design:type",t,r)))}(r,e,t),function(n){return function(e,t,r){var o="function"==typeof e?e:e.constructor;o.__decorators__||(o.__decorators__=[]),"number"!=typeof r&&(r=void 0),o.__decorators__.push(function(e){return n(e,t,r)})}}(function(e,t){(e.props||(e.props={}))[t]=r})(e,t)}}var _=null,g=function(){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=c(this,n(t).apply(this,arguments))).containerHeight=_,e.containerWidth=_,e.isDestroyed=_,e.isPending=_,e.isReady=_,e.isRunning=_,e.lastAxis=_,e.lastDirection=_,e.lastXDirection=_,e.lastYDirection=_,e.nowScrolling=_,e.scrollEnabled=_,e.scrollHeight=_,e.scrollWidth=_,e.scrollableX=_,e.scrollableY=_,e.state=_,e.scrollBottom=_,e.scrollLeft=_,e.scrollRight=_,e.scrollTop=_,e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(t,l),function(e,t,r){t&&o(e.prototype,t),r&&o(e,r)}(t,[{key:"ready",value:function(){return this._scroller.ready()}},{key:"start",value:function(){return this._scroller.start()}},{key:"stop",value:function(){return this._scroller.stop()}},{key:"destroy",value:function(){return this._scroller.destroy()}},{key:"update",value:function(){return this._scroller.update()}},{key:"toJSON",value:function(){return this._scroller.toJSON()}},{key:"toString",value:function(){return this._scroller.toString()}},{key:"cancel",value:function(){return this._scroller.cancel()}},{key:"by",value:function(e,t,r){return this._scroller.by(e,t,r)}},{key:"to",value:function(e,t){return this._scroller.to(e,t)}},{key:"toElement",value:function(e,t){return this._scroller.toElement(e,t)}},{key:"toSide",value:function(e,t){return this._scroller.toSide(e,t)}},{key:"toTop",value:function(e){return this._scroller.toTop(e)}},{key:"toRight",value:function(e){return this._scroller.toRight(e)}},{key:"toBottom",value:function(e){return this._scroller.toBottom(e)}},{key:"toLeft",value:function(e){return this._scroller.toLeft(e)}},{key:"toLeftTop",value:function(e){return this._scroller.toLeftTop(e)}},{key:"toLeftBottom",value:function(e){return this._scroller.toLeftBottom(e)}},{key:"toRightTop",value:function(e){return this._scroller.toRightTop(e)}},{key:"toRightBottom",value:function(e){return this._scroller.toRightBottom(e)}},{key:"pushScrollStopper",value:function(e){return this._scroller.pushScrollStopper(e)}},{key:"removeScrollStopper",value:function(e){return this._scroller.removeScrollStopper(e)}},{key:"created",value:function(){var e="self"===this.target?this.$el:void 0;this._scroller=new r(function(n){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{},t=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),t.forEach(function(e){var t,r,o;t=n,o=i[r=e],r in t?Object.defineProperty(t,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[r]=o})}return n}({el:e},this.scrollerSetting)),this._scroller.observe(this)}},{key:"mounted",value:function(){"self"===this.target&&this._scroller.setElement(this.$el)}},{key:"beforeDestroy",value:function(){this._scroller.destroy(),delete this._scroller}}]),t}();t([b({type:String,default:"self"})],g.prototype,"target",void 0),t([b({type:Object})],g.prototype,"scrollerSetting",void 0);var O=g=t([v({name:"v-scroller"})],g),m={installed:!1,install:function(e,t){var r=1<arguments.length&&void 0!==t?t:{};if(!this.installed){var o=new O({propsData:{target:"body",scrollerSetting:r.window}});e.prototype.$window=o,this.installed=!0}}};e.VueScroller=O,e.default=m,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("@dadajam4/scroller")):"function"==typeof define&&define.amd?define(["exports","vue","@dadajam4/scroller"],t):t((e=e||self).VueScroller={},e.Vue,e.Scroller)}(this,function(e,l,r){"use strict";function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function n(n){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{},t=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),t.forEach(function(e){var t,r,o;t=n,o=i[r=e],r in t?Object.defineProperty(t,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[r]=o})}return n}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function t(e,t,r,o){var n,i=arguments.length,c=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"===("undefined"==typeof Reflect?"undefined":u(Reflect))&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,r,o);else for(var l=e.length-1;0<=l;l--)(n=e[l])&&(c=(i<3?n(c):3<i?n(t,r,c):n(t,r))||c);return 3<i&&c&&Object.defineProperty(t,r,c),c}l=l&&l.hasOwnProperty("default")?l.default:l,r=r&&r.hasOwnProperty("default")?r.default:r;var f="undefined"!=typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys;function s(r,o,n){(n?Reflect.getOwnMetadataKeys(o,n):Reflect.getOwnMetadataKeys(o)).forEach(function(e){var t=n?Reflect.getOwnMetadata(e,o,n):Reflect.getOwnMetadata(e,o);n?Reflect.defineMetadata(e,t,r,n):Reflect.defineMetadata(e,t,r)})}var p={__proto__:[]}instanceof Array;var y=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function d(e,o){void 0===o&&(o={}),o.name=o.name||e._componentTag||e.name;var n=e.prototype;Object.getOwnPropertyNames(n).forEach(function(t){if("constructor"!==t)if(-1<y.indexOf(t))o[t]=n[t];else{var r=Object.getOwnPropertyDescriptor(n,t);void 0!==r.value?"function"==typeof r.value?(o.methods||(o.methods={}))[t]=r.value:(o.mixins||(o.mixins=[])).push({data:function(){var e;return(e={})[t]=r.value,e}}):(r.get||r.set)&&((o.computed||(o.computed={}))[t]={get:r.get,set:r.set})}}),(o.mixins||(o.mixins=[])).push({data:function(){return function(o,e){var t=e.prototype._init;e.prototype._init=function(){var e=this,t=Object.getOwnPropertyNames(o);if(o.$options.props)for(var r in o.$options.props)o.hasOwnProperty(r)||t.push(r);t.forEach(function(t){"_"!==t.charAt(0)&&Object.defineProperty(e,t,{get:function(){return o[t]},set:function(e){o[t]=e},configurable:!0})})};var r=new e;e.prototype._init=t;var n={};return Object.keys(r).forEach(function(e){void 0!==r[e]&&(n[e]=r[e])}),n}(this,e)}});var t=e.__decorators__;t&&(t.forEach(function(e){return e(o)}),delete e.__decorators__);var r=Object.getPrototypeOf(e.prototype),i=r instanceof l?r.constructor:l,c=i.extend(o);return function(n,i,c){Object.getOwnPropertyNames(i).forEach(function(e){if(!v[e]){var t=Object.getOwnPropertyDescriptor(n,e);if(!t||t.configurable){var r=Object.getOwnPropertyDescriptor(i,e);if(!p){if("cid"===e)return;var o=Object.getOwnPropertyDescriptor(c,e);if(!function(e){var t=u(e);return null==e||"object"!==t&&"function"!==t}(r.value)&&o&&o.value===r.value)return}Object.defineProperty(n,e,r)}}})}(c,e,i),f&&function(t,r){s(t,r),Object.getOwnPropertyNames(r.prototype).forEach(function(e){s(t.prototype,r.prototype,e)}),Object.getOwnPropertyNames(r).forEach(function(e){s(t,r,e)})}(c,e),c}var v={prototype:!0,arguments:!0,callee:!0,caller:!0};function h(t){return"function"==typeof t?d(t):function(e){return d(e,t)}}h.registerHooks=function(e){y.push.apply(y,e)};var b="undefined"!=typeof Reflect&&void 0!==Reflect.getMetadata;function _(r){return void 0===r&&(r={}),function(e,t){!function(e,t,r){b&&(Array.isArray(e)||"function"==typeof e||void 0!==e.type||(e.type=Reflect.getMetadata("design:type",t,r)))}(r,e,t),function(n){return function(e,t,r){var o="function"==typeof e?e:e.constructor;o.__decorators__||(o.__decorators__=[]),"number"!=typeof r&&(r=void 0),o.__decorators__.push(function(e){return n(e,t,r)})}}(function(e,t){(e.props||(e.props={}))[t]=r})(e,t)}}var g=null,m=function(){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=a(this,i(t).apply(this,arguments))).containerHeight=g,e.containerWidth=g,e.isDestroyed=g,e.isPending=g,e.isReady=g,e.isRunning=g,e.lastAxis=g,e.lastDirection=g,e.lastXDirection=g,e.lastYDirection=g,e.nowScrolling=g,e.scrollEnabled=g,e.scrollHeight=g,e.scrollWidth=g,e.scrollableX=g,e.scrollableY=g,e.state=g,e.scrollBottom=g,e.scrollLeft=g,e.scrollRight=g,e.scrollTop=g,e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(t,l),function(e,t,r){t&&o(e.prototype,t),r&&o(e,r)}(t,[{key:"ready",value:function(){return this._scroller.ready()}},{key:"start",value:function(){return this._scroller.start()}},{key:"stop",value:function(){return this._scroller.stop()}},{key:"destroy",value:function(){return this._scroller.destroy()}},{key:"update",value:function(){return this._scroller.update()}},{key:"toJSON",value:function(){return this._scroller.toJSON()}},{key:"toString",value:function(){return this._scroller.toString()}},{key:"cancel",value:function(){return this._scroller.cancel()}},{key:"by",value:function(e,t,r){return this._scroller.by(e,t,r)}},{key:"to",value:function(e,t){return this._scroller.to(e,t)}},{key:"toElement",value:function(e,t){return this._scroller.toElement(e,t)}},{key:"toSide",value:function(e,t){return this._scroller.toSide(e,t)}},{key:"toTop",value:function(e){return this._scroller.toTop(e)}},{key:"toRight",value:function(e){return this._scroller.toRight(e)}},{key:"toBottom",value:function(e){return this._scroller.toBottom(e)}},{key:"toLeft",value:function(e){return this._scroller.toLeft(e)}},{key:"toLeftTop",value:function(e){return this._scroller.toLeftTop(e)}},{key:"toLeftBottom",value:function(e){return this._scroller.toLeftBottom(e)}},{key:"toRightTop",value:function(e){return this._scroller.toRightTop(e)}},{key:"toRightBottom",value:function(e){return this._scroller.toRightBottom(e)}},{key:"pushScrollStopper",value:function(e){return this._scroller.pushScrollStopper(e)}},{key:"removeScrollStopper",value:function(e){return this._scroller.removeScrollStopper(e)}},{key:"created",value:function(){var e="self"===this.target?this.$el:void 0;this._scroller=new r(n({el:e},this.scrollerSetting)),this._scroller.observe(this)}},{key:"mounted",value:function(){"self"===this.target&&this._scroller.setElement(this.$el)}},{key:"beforeDestroy",value:function(){this._scroller.destroy(),delete this._scroller}}]),t}();t([_({type:String,default:"self"})],m.prototype,"target",void 0),t([_({type:Object})],m.prototype,"scrollerSetting",void 0);function O(e,t,r){var o=r.context;if(o){var n=o.$window;if(n){var i=t.value;"function"==typeof i&&(i=i()),void 0===i||i?n.pushScrollStopper(e):n.removeScrollStopper(e)}}}var w=m=t([h({name:"v-scroller"})],m),S=n({name:"scrollstop"},{inserted:function(e,t,r){O(e,t,r)},componentUpdated:function(e,t,r){O(e,t,r)},unbind:function(e,t,r){var o=r.context;if(o){var n=o.$window;n&&n.removeScrollStopper(e)}}}),j={installed:!1,install:function(e,t){var r=1<arguments.length&&void 0!==t?t:{};if(!this.installed){var o=new w({propsData:{target:"body",scrollerSetting:r.window}});e.prototype.$window=o,e.directive(S.name,S),this.installed=!0}}};e.VueScroller=w,e.default=j,e.scrollstop=S,Object.defineProperty(e,"__esModule",{value:!0})});
{
"name": "@dadajam4/vue-scroller",
"version": "0.0.1",
"version": "0.0.2",
"description": "Service for DOM Element Scroll for Vue2.",

@@ -5,0 +5,0 @@ "main": "dist/vue-scroller.common.js",

@@ -5,2 +5,3 @@ import { PluginObject } from 'vue/types';

export { default as VueScroller } from './components/VueScroller';
export * from './directives';
declare module 'vue/types/vue' {

@@ -7,0 +8,0 @@ interface Vue {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc