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

restomax-scrolling-getter

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

restomax-scrolling-getter - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

32

bundles/restomax-scrolling-getter.umd.js

@@ -9,3 +9,3 @@ (function (global, factory) {

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -15,2 +15,3 @@ var RMXScrollingGetterDirective = /** @class */ (function () {

this.elementRef = elementRef;
this.scrollStarted = false;
this.scrollBottom = new core.EventEmitter();

@@ -50,2 +51,23 @@ this.scrollTop = new core.EventEmitter();

function ($event) {
var _this = this;
if (!this.scrollStarted) {
this.scrollingTimeout = setTimeout(( /**
* @return {?}
*/function () {
_this.scrollStarted = false;
_this.scrollEnd.emit(true);
}), 500);
this.scrollStart.emit(true);
}
else {
if (this.scrollingTimeout) {
clearTimeout(this.scrollingTimeout);
}
this.scrollingTimeout = setTimeout(( /**
* @return {?}
*/function () {
_this.scrollStarted = false;
_this.scrollEnd.emit(true);
}), 500);
}
/** @type {?} */

@@ -85,3 +107,3 @@ var el = $event.srcElement;

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -103,3 +125,3 @@ var RMXScrollingGetterModule = /** @class */ (function () {

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -109,3 +131,3 @@

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -120,2 +142,2 @@

//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdG9tYXgtc2Nyb2xsaW5nLWdldHRlci51bWQuanMubWFwIiwic291cmNlcyI6WyJuZzovL3Jlc3RvbWF4LXNjcm9sbGluZy1nZXR0ZXIvbGliL3Jlc3RvbWF4LXNjcm9sbGluZy1nZXR0ZXIuZGlyZWN0aXZlLnRzIiwibmc6Ly9yZXN0b21heC1zY3JvbGxpbmctZ2V0dGVyL2xpYi9yZXN0b21heC1zY3JvbGxpbmctZ2V0dGVyLm1vZHVsZS50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUsIEVsZW1lbnRSZWYsIEhvc3RMaXN0ZW5lciwgT3V0cHV0LCBFdmVudEVtaXR0ZXIsIElucHV0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBEaXJlY3RpdmUoe1xuICBzZWxlY3RvcjogJ1tybXhTY3JvbGxpbmdHZXR0ZXJdJ1xufSlcbmV4cG9ydCBjbGFzcyBSTVhTY3JvbGxpbmdHZXR0ZXJEaXJlY3RpdmUge1xuXG4gIGNvbnN0cnVjdG9yKFxuICAgIHByaXZhdGUgZWxlbWVudFJlZjogRWxlbWVudFJlZlxuICApIHsgfVxuXG4gIEBPdXRwdXQoKSBzY3JvbGxCb3R0b20gID0gbmV3IEV2ZW50RW1pdHRlcjxib29sZWFuPigpO1xuICBAT3V0cHV0KCkgc2Nyb2xsVG9wICAgICA9IG5ldyBFdmVudEVtaXR0ZXI8Ym9vbGVhbj4oKTtcbiAgQE91dHB1dCgpIHNjcm9sbFN0YXJ0ICAgPSBuZXcgRXZlbnRFbWl0dGVyPGJvb2xlYW4+KCk7XG4gIEBPdXRwdXQoKSBzY3JvbGxFbmQg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ENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO2lCQUM5QjtxQkFBTSxJQUFJLEVBQUUsQ0FBQyxTQUFTLEtBQUssQ0FBQyxFQUFFO29CQUM3QixJQUFJLENBQUMsU0FBUyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztpQkFDM0I7YUFDRjs7b0JBaENGQyxjQUFTLFNBQUM7d0JBQ1QsUUFBUSxFQUFFLHNCQUFzQjtxQkFDakM7Ozs7O3dCQUptQkMsZUFBVTs7OzttQ0FXM0JDLFdBQU07Z0NBQ05BLFdBQU07a0NBQ05BLFdBQU07Z0NBQ05BLFdBQU07a0NBRU5DLFVBQUs7cUNBS0xBLFVBQUs7K0JBS0xDLGlCQUFZLFNBQUMsUUFBUSxFQUFFLENBQUMsUUFBUSxDQUFDOztRQVVwQyxrQ0FBQztLQWxDRDs7Ozs7O0FDRkE7UUFHQTtTQU15Qzs7b0JBTnhDQyxhQUFRLFNBQUM7d0JBQ1IsT0FBTyxFQUFFLEVBQ1I7d0JBQ0QsWUFBWSxFQUFFLENBQUMsMkJBQTJCLENBQUM7d0JBQzNDLE9BQU8sRUFBRSxDQUFDLDJCQUEyQixDQUFDO3FCQUN2Qzs7UUFDdUMsK0JBQUM7S0FOekM7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OyJ9
//# sourceMappingURL=restomax-scrolling-getter.umd.js.map

2

bundles/restomax-scrolling-getter.umd.min.js

@@ -1,2 +0,2 @@

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("restomax-scrolling-getter",["exports","@angular/core"],e):e(t["restomax-scrolling-getter"]={},t.ng.core)}(this,function(t,e){"use strict";var o=function(){function t(t){this.elementRef=t,this.scrollBottom=new e.EventEmitter,this.scrollTop=new e.EventEmitter,this.scrollStart=new e.EventEmitter,this.scrollEnd=new e.EventEmitter}return t.prototype.scrollToTop=function(){this.elementRef.nativeElement.scrollTop=this.elementRef.nativeElement.scrollHeight},t.prototype.scrollToBottom=function(t){this.elementRef.nativeElement.scrollTop=0},t.prototype.onScroll=function(t){var e=t.srcElement;e.scrollHeight-e.scrollTop===e.clientHeight?this.scrollBottom.emit(!0):0===e.scrollTop&&this.scrollTop.emit(!0)},t.decorators=[{type:e.Directive,args:[{selector:"[rmxScrollingGetter]"}]}],t.ctorParameters=function(){return[{type:e.ElementRef}]},t.propDecorators={scrollBottom:[{type:e.Output}],scrollTop:[{type:e.Output}],scrollStart:[{type:e.Output}],scrollEnd:[{type:e.Output}],scrollToTop:[{type:e.Input}],scrollToBottom:[{type:e.Input}],onScroll:[{type:e.HostListener,args:["scroll",["$event"]]}]},t}(),r=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[],declarations:[o],exports:[o]}]}],t}();t.RMXScrollingGetterDirective=o,t.RMXScrollingGetterModule=r,Object.defineProperty(t,"__esModule",{value:!0})});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("restomax-scrolling-getter",["exports","@angular/core"],e):e(t["restomax-scrolling-getter"]={},t.ng.core)}(this,function(t,e){"use strict";var o=function(){function t(t){this.elementRef=t,this.scrollStarted=!1,this.scrollBottom=new e.EventEmitter,this.scrollTop=new e.EventEmitter,this.scrollStart=new e.EventEmitter,this.scrollEnd=new e.EventEmitter}return t.prototype.scrollToTop=function(){this.elementRef.nativeElement.scrollTop=this.elementRef.nativeElement.scrollHeight},t.prototype.scrollToBottom=function(t){this.elementRef.nativeElement.scrollTop=0},t.prototype.onScroll=function(t){var e=this;this.scrollStarted?(this.scrollingTimeout&&clearTimeout(this.scrollingTimeout),this.scrollingTimeout=setTimeout(function(){e.scrollStarted=!1,e.scrollEnd.emit(!0)},500)):(this.scrollingTimeout=setTimeout(function(){e.scrollStarted=!1,e.scrollEnd.emit(!0)},500),this.scrollStart.emit(!0));var o=t.srcElement;o.scrollHeight-o.scrollTop===o.clientHeight?this.scrollBottom.emit(!0):0===o.scrollTop&&this.scrollTop.emit(!0)},t.decorators=[{type:e.Directive,args:[{selector:"[rmxScrollingGetter]"}]}],t.ctorParameters=function(){return[{type:e.ElementRef}]},t.propDecorators={scrollBottom:[{type:e.Output}],scrollTop:[{type:e.Output}],scrollStart:[{type:e.Output}],scrollEnd:[{type:e.Output}],scrollToTop:[{type:e.Input}],scrollToBottom:[{type:e.Input}],onScroll:[{type:e.HostListener,args:["scroll",["$event"]]}]},t}(),r=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[],declarations:[o],exports:[o]}]}],t}();t.RMXScrollingGetterDirective=o,t.RMXScrollingGetterModule=r,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=restomax-scrolling-getter.umd.min.js.map
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -12,2 +12,3 @@ import { Directive, ElementRef, HostListener, Output, EventEmitter, Input } from '@angular/core';

this.elementRef = elementRef;
this.scrollStarted = false;
this.scrollBottom = new EventEmitter();

@@ -36,2 +37,24 @@ this.scrollTop = new EventEmitter();

onScroll($event) {
if (!this.scrollStarted) {
this.scrollingTimeout = setTimeout((/**
* @return {?}
*/
() => {
this.scrollStarted = false;
this.scrollEnd.emit(true);
}), 500);
this.scrollStart.emit(true);
}
else {
if (this.scrollingTimeout) {
clearTimeout(this.scrollingTimeout);
}
this.scrollingTimeout = setTimeout((/**
* @return {?}
*/
() => {
this.scrollStarted = false;
this.scrollEnd.emit(true);
}), 500);
}
/** @type {?} */

@@ -66,2 +89,12 @@ const el = $event.srcElement;

if (false) {
/**
* @type {?}
* @private
*/
RMXScrollingGetterDirective.prototype.scrollStarted;
/**
* @type {?}
* @private
*/
RMXScrollingGetterDirective.prototype.scrollingTimeout;
/** @type {?} */

@@ -75,5 +108,8 @@ RMXScrollingGetterDirective.prototype.scrollBottom;

RMXScrollingGetterDirective.prototype.scrollEnd;
/** @type {?} */
/**
* @type {?}
* @private
*/
RMXScrollingGetterDirective.prototype.elementRef;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdG9tYXgtc2Nyb2xsaW5nLWdldHRlci5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9yZXN0b21heC1zY3JvbGxpbmctZ2V0dGVyLyIsInNvdXJjZXMiOlsibGliL3Jlc3RvbWF4LXNjcm9sbGluZy1nZXR0ZXIuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFLakcsTUFBTSxPQUFPLDJCQUEyQjs7OztJQUV0QyxZQUNVLFVBQXNCO1FBQXRCLGVBQVUsR0FBVixVQUFVLENBQVk7UUFHdEIsaUJBQVksR0FBSSxJQUFJLFlBQVksRUFBVyxDQUFDO1FBQzVDLGNBQVMsR0FBTyxJQUFJLFlBQVksRUFBVyxDQUFDO1FBQzVDLGdCQUFXLEdBQUssSUFBSSxZQUFZLEVBQVcsQ0FBQztRQUM1QyxjQUFTLEdBQU8sSUFBSSxZQUFZLEVBQVcsQ0FBQztJQUxsRCxDQUFDOzs7O0lBUUwsV0FBVztRQUNULElBQUksQ0FBQyxVQUFVLENBQUMsYUFBYSxDQUFDLFNBQVMsR0FBRyxJQUFJLENBQUMsVUFBVSxDQUFDLGFBQWEsQ0FBQyxZQUFZLENBQUM7SUFDdkYsQ0FBQzs7Ozs7SUFHRCxjQUFjLENBQUMsT0FBTztRQUNwQixJQUFJLENBQUMsVUFBVSxDQUFDLGFBQWEsQ0FBQyxTQUFTLEdBQUcsQ0FBQyxDQUFDO0lBQz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AgICAgICAgdGhpcy5zY3JvbGxFbmQuZW1pdCh0cnVlKTtcbiAgICAgIH0sIDUwMCk7XG4gICAgfVxuXG4gICAgY29uc3QgZWwgPSAkZXZlbnQuc3JjRWxlbWVudDtcbiAgICBpZiAoZWwuc2Nyb2xsSGVpZ2h0IC0gZWwuc2Nyb2xsVG9wID09PSBlbC5jbGllbnRIZWlnaHQpIHtcbiAgICAgIHRoaXMuc2Nyb2xsQm90dG9tLmVtaXQodHJ1ZSk7XG4gICAgfSBlbHNlIGlmIChlbC5zY3JvbGxUb3AgPT09IDApIHtcbiAgICAgIHRoaXMuc2Nyb2xsVG9wLmVtaXQodHJ1ZSk7XG4gICAgfVxuICB9XG5cbn1cbiJdfQ==
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ import { NgModule } from '@angular/core';

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ /*

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ /**

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -9,2 +9,3 @@ import { Directive, ElementRef, HostListener, Output, EventEmitter, Input } from '@angular/core';

this.elementRef = elementRef;
this.scrollStarted = false;
this.scrollBottom = new EventEmitter();

@@ -44,2 +45,25 @@ this.scrollTop = new EventEmitter();

function ($event) {
var _this = this;
if (!this.scrollStarted) {
this.scrollingTimeout = setTimeout((/**
* @return {?}
*/
function () {
_this.scrollStarted = false;
_this.scrollEnd.emit(true);
}), 500);
this.scrollStart.emit(true);
}
else {
if (this.scrollingTimeout) {
clearTimeout(this.scrollingTimeout);
}
this.scrollingTimeout = setTimeout((/**
* @return {?}
*/
function () {
_this.scrollStarted = false;
_this.scrollEnd.emit(true);
}), 500);
}
/** @type {?} */

@@ -76,2 +100,12 @@ var el = $event.srcElement;

if (false) {
/**
* @type {?}
* @private
*/
RMXScrollingGetterDirective.prototype.scrollStarted;
/**
* @type {?}
* @private
*/
RMXScrollingGetterDirective.prototype.scrollingTimeout;
/** @type {?} */

@@ -85,5 +119,8 @@ RMXScrollingGetterDirective.prototype.scrollBottom;

RMXScrollingGetterDirective.prototype.scrollEnd;
/** @type {?} */
/**
* @type {?}
* @private
*/
RMXScrollingGetterDirective.prototype.elementRef;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdG9tYXgtc2Nyb2xsaW5nLWdldHRlci5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9yZXN0b21heC1zY3JvbGxpbmctZ2V0dGVyLyIsInNvdXJjZXMiOlsibGliL3Jlc3RvbWF4LXNjcm9sbGluZy1nZXR0ZXIuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsRUFBRSxZQUFZLEVBQUUsTUFBTSxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFakc7SUFLRSxxQ0FDVSxVQUFzQjtRQUF0QixlQUFVLEdBQVYsVUFBVSxDQUFZO1FBR3RCLGlCQUFZLEdBQUksSUFBSSxZQUFZLEVBQVcsQ0FBQztRQUM1QyxjQUFTLEdBQU8sSUFBSSxZQUFZLEVBQVcsQ0FB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ZvaWQge1xuICAgIGlmICghdGhpcy5zY3JvbGxTdGFydGVkKSB7XG4gICAgICB0aGlzLnNjcm9sbGluZ1RpbWVvdXQgPSBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgdGhpcy5zY3JvbGxTdGFydGVkID0gZmFsc2U7XG4gICAgICAgIHRoaXMuc2Nyb2xsRW5kLmVtaXQodHJ1ZSk7XG4gICAgICB9LCA1MDApO1xuICAgICAgdGhpcy5zY3JvbGxTdGFydC5lbWl0KHRydWUpO1xuICAgIH0gZWxzZSB7XG4gICAgICBpZiAodGhpcy5zY3JvbGxpbmdUaW1lb3V0KSB7XG4gICAgICAgIGNsZWFyVGltZW91dCh0aGlzLnNjcm9sbGluZ1RpbWVvdXQpO1xuICAgICAgfVxuXG4gICAgICB0aGlzLnNjcm9sbGluZ1RpbWVvdXQgPSBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgdGhpcy5zY3JvbGxTdGFydGVkID0gZmFsc2U7XG4gICAgICAgIHRoaXMuc2Nyb2xsRW5kLmVtaXQodHJ1ZSk7XG4gICAgICB9LCA1MDApO1xuICAgIH1cblxuICAgIGNvbnN0IGVsID0gJGV2ZW50LnNyY0VsZW1lbnQ7XG4gICAgaWYgKGVsLnNjcm9sbEhlaWdodCAtIGVsLnNjcm9sbFRvcCA9PT0gZWwuY2xpZW50SGVpZ2h0KSB7XG4gICAgICB0aGlzLnNjcm9sbEJvdHRvbS5lbWl0KHRydWUpO1xuICAgIH0gZWxzZSBpZiAoZWwuc2Nyb2xsVG9wID09PSAwKSB7XG4gICAgICB0aGlzLnNjcm9sbFRvcC5lbWl0KHRydWUpO1xuICAgIH1cbiAgfVxuXG59XG4iXX0=
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ import { NgModule } from '@angular/core';

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ /*

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ /**

@@ -5,3 +5,3 @@ import { Directive, ElementRef, HostListener, Output, EventEmitter, Input, NgModule } from '@angular/core';

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -14,2 +14,3 @@ class RMXScrollingGetterDirective {

this.elementRef = elementRef;
this.scrollStarted = false;
this.scrollBottom = new EventEmitter();

@@ -38,2 +39,24 @@ this.scrollTop = new EventEmitter();

onScroll($event) {
if (!this.scrollStarted) {
this.scrollingTimeout = setTimeout((/**
* @return {?}
*/
() => {
this.scrollStarted = false;
this.scrollEnd.emit(true);
}), 500);
this.scrollStart.emit(true);
}
else {
if (this.scrollingTimeout) {
clearTimeout(this.scrollingTimeout);
}
this.scrollingTimeout = setTimeout((/**
* @return {?}
*/
() => {
this.scrollStarted = false;
this.scrollEnd.emit(true);
}), 500);
}
/** @type {?} */

@@ -70,3 +93,3 @@ const el = $event.srcElement;

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -85,3 +108,3 @@ class RMXScrollingGetterModule {

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -91,3 +114,3 @@

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -97,2 +120,2 @@

//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdG9tYXgtc2Nyb2xsaW5nLWdldHRlci5qcy5tYXAiLCJzb3VyY2VzIjpbIm5nOi8vcmVzdG9tYXgtc2Nyb2xsaW5nLWdldHRlci9saWIvcmVzdG9tYXgtc2Nyb2xsaW5nLWdldHRlci5kaXJlY3RpdmUudHMiLCJuZzovL3Jlc3RvbWF4LXNjcm9sbGluZy1nZXR0ZXIvbGliL3Jlc3RvbWF4LXNjcm9sbGluZy1nZXR0ZXIubW9kdWxlLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgRWxlbWVudFJlZiwgSG9zdExpc3RlbmVyLCBPdXRwdXQsIEV2ZW50RW1pdHRlciwgSW5wdXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiAnW3JteFNjcm9sbGluZ0dldHRlcl0nXG59KVxuZXhwb3J0IGNsYXNzIFJNWFNjcm9sbGluZ0dldHRlckRpcmVjdGl2ZSB7XG5cbiAgY29uc3RydWN0b3IoXG4gICAgcHJpdmF0ZSBlbGVtZW50UmVmOiBFbGVtZW50UmVmXG4gICkgeyB9XG5cbiAgQE91dHB1dCgpIHNjcm9sbEJvdHRvbSAgPSBuZXcgRXZlbnRFbWl0dGVyPGJvb2xlYW4+KCk7XG4gIEBPdXRwdXQoKSBzY3JvbGxUb3AgICAgID0gbmV3IEV2ZW50RW1pdHRlcjxib29sZWFuPigpO1xuICBAT3V0cHV0KCkgc2Nyb2xsU3RhcnQgICA9IG5ldyBFdmVudEVtaXR0ZXI8Ym9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ixJQUFJLENBQUMsU0FBUyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztTQUMzQjtLQUNGOzs7WUFoQ0YsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxzQkFBc0I7YUFDakM7Ozs7WUFKbUIsVUFBVTs7OzJCQVczQixNQUFNO3dCQUNOLE1BQU07MEJBQ04sTUFBTTt3QkFDTixNQUFNOzBCQUVOLEtBQUs7NkJBS0wsS0FBSzt1QkFLTCxZQUFZLFNBQUMsUUFBUSxFQUFFLENBQUMsUUFBUSxDQUFDOzs7Ozs7O0FDMUJwQyxNQVNhLHdCQUF3Qjs7O1lBTnBDLFFBQVEsU0FBQztnQkFDUixPQUFPLEVBQUUsRUFDUjtnQkFDRCxZQUFZLEVBQUUsQ0FBQywyQkFBMkIsQ0FBQztnQkFDM0MsT0FBTyxFQUFFLENBQUMsMkJBQTJCLENBQUM7YUFDdkM7Ozs7Ozs7Ozs7Ozs7OzsifQ==
//# sourceMappingURL=restomax-scrolling-getter.js.map

@@ -5,3 +5,3 @@ import { Directive, ElementRef, HostListener, Output, EventEmitter, Input, NgModule } from '@angular/core';

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -11,2 +11,3 @@ var RMXScrollingGetterDirective = /** @class */ (function () {

this.elementRef = elementRef;
this.scrollStarted = false;
this.scrollBottom = new EventEmitter();

@@ -46,2 +47,25 @@ this.scrollTop = new EventEmitter();

function ($event) {
var _this = this;
if (!this.scrollStarted) {
this.scrollingTimeout = setTimeout((/**
* @return {?}
*/
function () {
_this.scrollStarted = false;
_this.scrollEnd.emit(true);
}), 500);
this.scrollStart.emit(true);
}
else {
if (this.scrollingTimeout) {
clearTimeout(this.scrollingTimeout);
}
this.scrollingTimeout = setTimeout((/**
* @return {?}
*/
function () {
_this.scrollStarted = false;
_this.scrollEnd.emit(true);
}), 500);
}
/** @type {?} */

@@ -79,3 +103,3 @@ var el = $event.srcElement;

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -97,3 +121,3 @@ var RMXScrollingGetterModule = /** @class */ (function () {

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -103,3 +127,3 @@

* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -109,2 +133,2 @@

//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdG9tYXgtc2Nyb2xsaW5nLWdldHRlci5qcy5tYXAiLCJzb3VyY2VzIjpbIm5nOi8vcmVzdG9tYXgtc2Nyb2xsaW5nLWdldHRlci9saWIvcmVzdG9tYXgtc2Nyb2xsaW5nLWdldHRlci5kaXJlY3RpdmUudHMiLCJuZzovL3Jlc3RvbWF4LXNjcm9sbGluZy1nZXR0ZXIvbGliL3Jlc3RvbWF4LXNjcm9sbGluZy1nZXR0ZXIubW9kdWxlLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgRWxlbWVudFJlZiwgSG9zdExpc3RlbmVyLCBPdXRwdXQsIEV2ZW50RW1pdHRlciwgSW5wdXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiAnW3JteFNjcm9sbGluZ0dldHRlcl0nXG59KVxuZXhwb3J0IGNsYXNzIFJNWFNjcm9sbGluZ0dldHRlckRpcmVjd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M7S0FDN0M7Ozs7O0lBR0QsOENBQVE7Ozs7SUFEUixVQUNTLE1BQWE7O1lBQ2QsRUFBRSxHQUFHLE1BQU0sQ0FBQyxVQUFVO1FBQzVCLElBQUksRUFBRSxDQUFDLFlBQVksR0FBRyxFQUFFLENBQUMsU0FBUyxLQUFLLEVBQUUsQ0FBQyxZQUFZLEVBQUU7WUFDdEQsSUFBSSxDQUFDLFlBQVksQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUM7U0FDOUI7YUFBTSxJQUFJLEVBQUUsQ0FBQyxTQUFTLEtBQUssQ0FBQyxFQUFFO1lBQzdCLElBQUksQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO1NBQzNCO0tBQ0Y7O2dCQWhDRixTQUFTLFNBQUM7b0JBQ1QsUUFBUSxFQUFFLHNCQUFzQjtpQkFDakM7Ozs7Z0JBSm1CLFVBQVU7OzsrQkFXM0IsTUFBTTs0QkFDTixNQUFNOzhCQUNOLE1BQU07NEJBQ04sTUFBTTs4QkFFTixLQUFLO2lDQUtMLEtBQUs7MkJBS0wsWUFBWSxTQUFDLFFBQVEsRUFBRSxDQUFDLFFBQVEsQ0FBQzs7SUFVcEMsa0NBQUM7Q0FsQ0Q7Ozs7OztBQ0ZBO0lBR0E7S0FNeUM7O2dCQU54QyxRQUFRLFNBQUM7b0JBQ1IsT0FBTyxFQUFFLEVBQ1I7b0JBQ0QsWUFBWSxFQUFFLENBQUMsMkJBQTJCLENBQUM7b0JBQzNDLE9BQU8sRUFBRSxDQUFDLDJCQUEyQixDQUFDO2lCQUN2Qzs7SUFDdUMsK0JBQUM7Q0FOekM7Ozs7Ozs7Ozs7Ozs7OyJ9
//# sourceMappingURL=restomax-scrolling-getter.js.map
import { ElementRef, EventEmitter } from '@angular/core';
export declare class RMXScrollingGetterDirective {
private elementRef;
private scrollStarted;
private scrollingTimeout;
constructor(elementRef: ElementRef);

@@ -5,0 +7,0 @@ scrollBottom: EventEmitter<boolean>;

{
"name": "restomax-scrolling-getter",
"version": "1.0.1",
"version": "1.0.2",
"peerDependencies": {

@@ -5,0 +5,0 @@ "@angular/common": "^7.0.0",

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"RMXScrollingGetterDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"[rmxScrollingGetter]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":8,"character":24}]}],"scrollBottom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":11,"character":3}}]}],"scrollTop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":3}}]}],"scrollStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":13,"character":3}}]}],"scrollEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":14,"character":3}}]}],"scrollToTop":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"scrollToBottom":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"onScroll":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":26,"character":3},"arguments":["scroll",["$event"]]}]}]}},"RMXScrollingGetterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"imports":[],"declarations":[{"__symbolic":"reference","name":"RMXScrollingGetterDirective"}],"exports":[{"__symbolic":"reference","name":"RMXScrollingGetterDirective"}]}]}],"members":{}}},"origins":{"RMXScrollingGetterDirective":"./lib/restomax-scrolling-getter.directive","RMXScrollingGetterModule":"./lib/restomax-scrolling-getter.module"},"importAs":"restomax-scrolling-getter"}
{"__symbolic":"module","version":4,"metadata":{"RMXScrollingGetterDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"[rmxScrollingGetter]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":11,"character":24}]}],"scrollBottom":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":14,"character":3}}]}],"scrollTop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":15,"character":3}}]}],"scrollStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":16,"character":3}}]}],"scrollEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":17,"character":3}}]}],"scrollToTop":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"scrollToBottom":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":24,"character":3}}]}],"onScroll":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":29,"character":3},"arguments":["scroll",["$event"]]}]}]}},"RMXScrollingGetterModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"imports":[],"declarations":[{"__symbolic":"reference","name":"RMXScrollingGetterDirective"}],"exports":[{"__symbolic":"reference","name":"RMXScrollingGetterDirective"}]}]}],"members":{}}},"origins":{"RMXScrollingGetterDirective":"./lib/restomax-scrolling-getter.directive","RMXScrollingGetterModule":"./lib/restomax-scrolling-getter.module"},"importAs":"restomax-scrolling-getter"}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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