New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular2-infinite-scroll

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-infinite-scroll - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

angular2-infinite-scroll.d.ts

84

bundles/angular2-infinite-scroll.js

@@ -70,5 +70,4 @@ System.registerDynamic("src/infinite-scroll", ["@angular/core", "./scroller"], true, function($__require, exports, module) {

__decorate([core_1.HostListener('scroll', ['$event']), __metadata('design:type', Function), __metadata('design:paramtypes', [Object]), __metadata('design:returntype', void 0)], InfiniteScroll.prototype, "handleScroll", null);
InfiniteScroll = __decorate([core_1.Directive({selector: '[infinite-scroll]'}), __metadata('design:paramtypes', [(typeof(_a = typeof core_1.ElementRef !== 'undefined' && core_1.ElementRef) === 'function' && _a) || Object])], InfiniteScroll);
InfiniteScroll = __decorate([core_1.Directive({selector: '[infinite-scroll]'}), __metadata('design:paramtypes', [core_1.ElementRef])], InfiniteScroll);
return InfiniteScroll;
var _a;
}());

@@ -79,37 +78,2 @@ exports.InfiniteScroll = InfiniteScroll;

System.registerDynamic("src/axis-resolver", [], true, function($__require, exports, module) {
"use strict";
;
var define,
global = this,
GLOBAL = this;
var AxisResolver = (function() {
function AxisResolver(vertical) {}
AxisResolver.prototype.clientHeightKey = function() {
return this.vertical ? 'clientHeight' : 'clientWidth';
};
AxisResolver.prototype.offsetHeightKey = function() {
return this.vertical ? 'offsetHeight' : 'offsetWidth';
};
AxisResolver.prototype.scrollHeightKey = function() {
return this.vertical ? 'scrollHeight' : 'scrollWidth';
};
AxisResolver.prototype.pageYOffsetKey = function() {
return this.vertical ? 'pageYOffset' : 'pageXOffset';
};
AxisResolver.prototype.offsetTopKey = function() {
return this.vertical ? 'offsetTop' : 'offsetLeft';
};
AxisResolver.prototype.scrollTopKey = function() {
return this.vertical ? 'scrollTop' : 'scrollLeft';
};
AxisResolver.prototype.topKey = function() {
return this.vertical ? 'top' : 'left';
};
return AxisResolver;
}());
exports.AxisResolver = AxisResolver;
return module.exports;
});
System.registerDynamic("src/scroller", ["rxjs/Rx", "./axis-resolver"], true, function($__require, exports, module) {

@@ -281,3 +245,3 @@ "use strict";

System.registerDynamic("angular2-infinite-scroll", ["./src/infinite-scroll", "./src/scroller"], true, function($__require, exports, module) {
System.registerDynamic("src/axis-resolver", [], true, function($__require, exports, module) {
"use strict";

@@ -288,2 +252,42 @@ ;

GLOBAL = this;
var AxisResolver = (function() {
function AxisResolver(vertical) {
if (vertical === void 0) {
vertical = true;
}
this.vertical = vertical;
}
AxisResolver.prototype.clientHeightKey = function() {
return this.vertical ? 'clientHeight' : 'clientWidth';
};
AxisResolver.prototype.offsetHeightKey = function() {
return this.vertical ? 'offsetHeight' : 'offsetWidth';
};
AxisResolver.prototype.scrollHeightKey = function() {
return this.vertical ? 'scrollHeight' : 'scrollWidth';
};
AxisResolver.prototype.pageYOffsetKey = function() {
return this.vertical ? 'pageYOffset' : 'pageXOffset';
};
AxisResolver.prototype.offsetTopKey = function() {
return this.vertical ? 'offsetTop' : 'offsetLeft';
};
AxisResolver.prototype.scrollTopKey = function() {
return this.vertical ? 'scrollTop' : 'scrollLeft';
};
AxisResolver.prototype.topKey = function() {
return this.vertical ? 'top' : 'left';
};
return AxisResolver;
}());
exports.AxisResolver = AxisResolver;
return module.exports;
});
System.registerDynamic("angular2-infinite-scroll", ["./src/infinite-scroll", "./src/scroller", "./src/axis-resolver"], true, function($__require, exports, module) {
"use strict";
;
var define,
global = this,
GLOBAL = this;
function __export(m) {

@@ -296,7 +300,9 @@ for (var p in m)

var scroller_1 = $__require('./src/scroller');
var axis_resolver_1 = $__require('./src/axis-resolver');
__export($__require('./src/infinite-scroll'));
__export($__require('./src/scroller'));
__export($__require('./src/axis-resolver'));
Object.defineProperty(exports, "__esModule", {value: true});
exports.default = {directives: [infinite_scroll_1.InfiniteScroll, scroller_1.Scroller]};
exports.default = {directives: [infinite_scroll_1.InfiniteScroll, scroller_1.Scroller, axis_resolver_1.AxisResolver]};
return module.exports;
});
{
"name": "angular2-infinite-scroll",
"version": "0.1.7",
"version": "0.1.8",
"description": "An infinite scroll directive for angular2",

@@ -5,0 +5,0 @@ "main": "angular2-infinite-scroll.js",

@@ -18,2 +18,6 @@ {

],
"awesomeTypescriptLoaderOptions": {
"forkChecker": true,
"useWebpackText": true
},
"files": [

@@ -20,0 +24,0 @@ "../typings/index.d.ts",

@@ -17,2 +17,6 @@ {

],
"awesomeTypescriptLoaderOptions": {
"forkChecker": true,
"useWebpackText": true
},
"files": [

@@ -22,4 +26,5 @@ "./typings/index.d.ts",

"./src/infinite-scroll.ts",
"./src/scroller.ts"
"./src/scroller.ts",
"./src/axis-resolver.ts"
]
}
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