angular2-infinite-scroll
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -60,3 +60,3 @@ 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', [Object])], InfiniteScroll); | ||
InfiniteScroll = __decorate([core_1.Directive({selector: '[infinite-scroll]'}), __metadata('design:paramtypes', [core_1.ElementRef])], InfiniteScroll); | ||
return InfiniteScroll; | ||
@@ -63,0 +63,0 @@ }()); |
{ | ||
"name": "angular2-infinite-scroll", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "An infinite scroll directive for angular2", | ||
@@ -5,0 +5,0 @@ "main": "angular2-infinite-scroll.js", |
@@ -6,2 +6,7 @@ [![Build Status](https://travis-ci.org/orizens/angular2-infinite-scroll.svg?branch=master)](https://travis-ci.org/orizens/angular2-infinite-scroll) | ||
## Installation | ||
``` | ||
npm install angular2-infinite-scroll --save | ||
``` | ||
## Supported API | ||
@@ -8,0 +13,0 @@ The directive triggers |
@@ -1,2 +0,1 @@ | ||
/// <reference path="../typings/index.d.ts" /> | ||
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core'; | ||
@@ -14,3 +13,3 @@ import { Scroller } from './scroller'; | ||
scrolledUp: EventEmitter<{}>; | ||
constructor(element: ElementRef | any); | ||
constructor(element: ElementRef); | ||
ngOnInit(): void; | ||
@@ -17,0 +16,0 @@ ngOnDestroy(): void; |
@@ -11,3 +11,2 @@ "use strict"; | ||
}; | ||
/// <reference path="../typings/index.d.ts" /> | ||
var core_1 = require('@angular/core'); | ||
@@ -80,3 +79,3 @@ var scroller_1 = require('./scroller'); | ||
}), | ||
__metadata('design:paramtypes', [Object]) | ||
__metadata('design:paramtypes', [core_1.ElementRef]) | ||
], InfiniteScroll); | ||
@@ -86,2 +85,2 @@ return InfiniteScroll; | ||
exports.InfiniteScroll = InfiniteScroll; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5maW5pdGUtc2Nyb2xsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW5maW5pdGUtc2Nyb2xsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSw4Q0FBOEM7QUFDOUMscUJBQW9HLGVBQWUsQ0FBQyxDQUFBO0FBQ3BILHlCQUF5QixZQUFZLENBQUMsQ0FBQTtBQUt0QztJQVlFLHdCQUFvQixPQUF5QjtRQUF6QixZQUFPLEdBQVAsT0FBTyxDQUFrQjtRQVRaLGtCQUFhLEdBQVcsQ0FBQyxDQUFDO1FBQ3hCLGdCQUFXLEdBQVcsR0FBRyxDQUFDO1FBQzVCLGNBQVMsR0FBVyxDQUFDLENBQUM7UUFDaEMsaUJBQVksR0FBWSxJQUFJLENBQUM7UUFDM0IsZUFBVSxHQUFZLEtBQUssQ0FBQztRQUUzQyxhQUFRLEdBQUcsSUFBSSxtQkFBWSxFQUFFLENBQUM7UUFDOUIsZUFBVSxHQUFHLElBQUksbUJBQVksRUFBRSxDQUFDO0lBRU0sQ0FBQztJQUVqRCxpQ0FBUSxHQUFSO1FBQ0UsSUFBTSxnQkFBZ0IsR0FBRyxJQUFJLENBQUMsWUFBWSxHQUFHLE1BQU0sR0FBRyxJQUFJLENBQUMsT0FBTyxDQUFDO1FBQ25FLElBQUksQ0FBQyxRQUFRLEdBQUcsSUFBSSxtQkFBUSxDQUFDLGdCQUFnQixFQUFFLFdBQVcsRUFBRSxJQUFJLENBQUMsT0FBTyxFQUNwRSxJQUFJLENBQUMsWUFBWSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsRUFBRSxJQUFJLENBQUMsVUFBVSxDQUFDLElBQUks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wgdGhpcy5lbGVtZW50LFxuICAgICAgICB0aGlzLm9uU2Nyb2xsRG93bi5iaW5kKHRoaXMpLCB0aGlzLm9uU2Nyb2xsVXAuYmluZCh0aGlzKSxcbiAgICAgICAgdGhpcy5fZGlzdGFuY2VEb3duLCB0aGlzLl9kaXN0YW5jZVVwLCB7fSwgdGhpcy5fdGhyb3R0bGUsIHRoaXMuX2ltbWVkaWF0ZSk7XG4gIH1cblxuICBuZ09uRGVzdHJveSAoKSB7XG4gICAgdGhpcy5zY3JvbGxlci5jbGVhbigpO1xuICB9XG5cbiAgb25TY3JvbGxEb3duKCkge1xuICAgIHRoaXMuc2Nyb2xsZWQubmV4dCh7fSk7XG4gIH1cblxuICBvblNjcm9sbFVwKCkge1xuICAgIHRoaXMuc2Nyb2xsZWRVcC5uZXh0KHt9KTtcbiAgfVxuXG4gIEBIb3N0TGlzdGVuZXIoJ3Njcm9sbCcsIFsnJGV2ZW50J10pXG4gIGhhbmRsZVNjcm9sbChldmVudDogYW55KSB7XG4gICAgdGhpcy5zY3JvbGxlci5oYW5kbGVyKCk7XG4gIH1cbn1cbiJdfQ== |
@@ -1,2 +0,1 @@ | ||
/// <reference path="../typings/index.d.ts" /> | ||
import { ElementRef } from '@angular/core'; | ||
@@ -3,0 +2,0 @@ export declare class Scroller { |
@@ -157,2 +157,2 @@ "use strict"; | ||
exports.Scroller = Scroller; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Nyb2xsZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzY3JvbGxlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBRUEsbUJBQXlDLFNBQVMsQ0FBQyxDQUFBO0FBRW5EO0lBY0Msa0JBQ1MsYUFBd0MsRUFDeEMsU0FBbUIsRUFDbkIsV0FBdUIsRUFDdkIsMEJBQW9DLEVBQ3BDLHdCQUFrQyxFQUMxQywwQkFBa0MsRUFDbEMsd0J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nNjcmliZSgpO1xuXHRcdH1cblx0fVxuXG5cdGhhbmRsZUluZmluaXRlU2Nyb2xsRGlzYWJsZWQgKGVuYWJsZVNjcm9sbDogYm9vbGVhbikge1xuXHRcdHRoaXMuc2Nyb2xsRW5hYmxlZCA9ICFlbmFibGVTY3JvbGw7XG5cdFx0Ly8gaWYgKHRoaXMuc2Nyb2xsRW5hYmxlZCAmJiBjaGVja1doZW5FbmFibGVkKSB7XG5cdFx0Ly8gXHRjaGVja1doZW5FbmFibGVkID0gZmFsc2U7XG5cdFx0Ly8gXHRyZXR1cm4gaGFuZGxlcigpO1xuXHRcdC8vIH1cblx0fVxufVxuIl19 |
@@ -18,2 +18,3 @@ { | ||
"files": [ | ||
"./typings/index.d.ts", | ||
"./angular2-infinite-scroll.ts", | ||
@@ -20,0 +21,0 @@ "./src/infinite-scroll.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
128
0
285248
6331