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

angular2-virtual-scroll

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-virtual-scroll - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

4

CHANGELOG.md
# v0.1.4
* Bug fix: ensure that onScrollListener is actually defined before removing [#25](https://github.com/rintoj/angular2-virtual-scroll/issues/25)
# v0.1.3

@@ -3,0 +7,0 @@

@@ -35,3 +35,9 @@ "use strict";

VirtualScrollComponent.prototype.ngOnDestroy = function () {
this.onScrollListener();
// Check that listener has been attached properly:
// It may be undefined in some cases, e.g. if an exception is thrown, the component is
// not initialized properly but destroy may be called anyways (e.g. in testing).
if (this.onScrollListener !== undefined) {
// this removes the listener
this.onScrollListener();
}
};

@@ -38,0 +44,0 @@ VirtualScrollComponent.prototype.refresh = function () {

2

package.json
{
"name": "angular2-virtual-scroll",
"version": "0.1.3",
"version": "0.1.4",
"description": "Angular 2 module for virtual -infinite- list. Supports multi-column",

@@ -5,0 +5,0 @@ "main": "dist/virtual-scroll.js",

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