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.4.4 to 0.4.5

4

CHANGELOG.md

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

# v0.4.5
* Update Readme
# v0.4.4

@@ -2,0 +6,0 @@

2

package.json
{
"name": "angular2-virtual-scroll",
"version": "0.4.4",
"version": "0.4.5",
"description": "Angular 4+ module for virtual -infinite- list. Supports multi-column",

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

@@ -217,4 +217,7 @@

Items must have fixed height and width for this module to work perfectly. However if you have items with variable width and height, set inputs `childWidth` and `childHeight` to their smallest possible values.
Items must have fixed height and width for this module to work perfectly. However if you have items with variable width and height, set inputs `childWidth` and `childHeight` to their smallest possible values. You can also modify `bufferAmount` which causes extra items to be rendered on the edges of the scrolling area.
If you are unsure what values to use for `childWidth` and `childHeight` and `bufferAmount` you can instead set [enableUnequalChildrenSizes]="true". This will cause all 3 values to be auto-calculated.
```html

@@ -224,2 +227,3 @@ <virtual-scroll [items]="items"

[childHeight]="30"
[bufferAmount]="5"
(update)="viewPortItems = $event">

@@ -233,2 +237,15 @@

or
```html
<virtual-scroll [items]="items"
[enableUnequalChildrenSizes]="true"
(update)="viewPortItems = $event">
<my-custom-component *ngFor="let item of viewPortItems">
</my-custom-component>
</virtual-scroll>
```
## Loading in chunks

@@ -235,0 +252,0 @@

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