Gathering detailed insights and metrics for react-virtual-list-ng
Gathering detailed insights and metrics for react-virtual-list-ng
Gathering detailed insights and metrics for react-virtual-list-ng
Gathering detailed insights and metrics for react-virtual-list-ng
npm install react-virtual-list-ng
Typescript
Module System
Node Version
NPM Version
JavaScript (97.71%)
Shell (2.29%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
75 Commits
1 Watchers
4 Branches
1 Contributors
Updated on Oct 14, 2018
Latest Version
0.9.1
Package Id
react-virtual-list-ng@0.9.1
Size
46.34 kB
NPM Version
3.3.6
Node Version
5.0.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
32
Super simple virtualized list React component
This React component allows you to display a large list of fixed-height items in your document, while only rendering the items visible in the viewport. This allows a large list to be rendered with much fewer DOM elements.
You can use NPM to install react-virtual-list:
1$ npm install react-virtual-list-ng --save
The ./dist/VirtualList.js
module exports a single React component.
var VirtualList = require('react-virtual-list');
<VirtualList items={this.props.items} renderItem={this.renderItem} itemHeight={this.props.itemHeight} />
items
the full array of list items. Only the visible subset of these will be rendered.renderItem
a function to render a single item, passed as argument item
. Must return a single React element (React.createElement(...)
)itemHeight
the height in pixels of a single item. You must have a CSS rule that sets the height of each list item to this value.container
the scrollable element that contains the list. Defaults to window
. Use this if you have a list inside an element with overflow: scroll
.tagName
the tagName for the root element that surrounds the items rendered by renderItem. Defaults to div
. Use this if you want to render a list with ul
and li
, or any other elements.scrollDelay
the delay in milliseconds after scroll to recalculate. Defaults to 0
. Can be used to throttle recalculation.itemBuffer
the number of items that should be rendered before and after the visible viewport. Defaults to 0
.Any other properties set on VirtualList
, such as className
, will be reflected on the component's root element.
visibleItems
the currently visible array of items. Can be used to figure out which items are in the viewport. Eg: var items = this.refs.list.visibleItems()
Check out https://github.com/developerdizzle/react-virtual-list/blob/gh-pages/App.jsx for the example used in the demo.
Use npm test
to run the tests using jasmine-node. Currently only the math calculations are tested. Hoping to add some DOM tests as well.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More