@guri-sokoli/optimized-virtual-scroll
v0.0.1
Published
High-performance Angular virtual scroll components and directives.
Maintainers
Readme
@guri-sokoli/optimized-virtual-scroll
High-performance Angular virtual scrolling primitives for large lists.
Installation
npm i @guri-sokoli/optimized-virtual-scrollPeer Dependencies
- @angular/core ^19.2.0
- @angular/common ^19.2.0
Public API
- OvsVirtualScrollViewportComponent
- OvsVirtualForDirective
- TemplateCacheService
- VirtualScrollStrategy
- VirtualRowContext (type)
- ScrollRange (type)
- LayoutEntry (type)
Usage
Import the symbols you need from the package:
import {
OvsVirtualScrollViewportComponent,
OvsVirtualForDirective,
VirtualScrollStrategy,
} from '@guri-sokoli/optimized-virtual-scroll';If you are using standalone components, add the exported component/directive to your imports array where needed.
Local Development
Build the library:
ng build optimized-virtual-scrollArtifacts are generated in dist/optimized-virtual-scroll.
Run tests:
ng test optimized-virtual-scrollPublishing
From the repository root:
npm run build:lib
cd dist/optimized-virtual-scroll
npm pack --dry-run
npm publish --access publicBefore each release:
- Update
projects/optimized-virtual-scroll/package.jsonversion. - Rebuild the library.
- Publish from
dist/optimized-virtual-scroll.
License
MIT
