Skip to content
Source
Sign inSign up
TanStack/virtual

chore(angular-virtual): proper angular 19 #1158

Mergedbenjavicente(GitHub profile, opens in a new tab)merged 16 commits intomain fromrefs/pull/1158/headmerged by piecyk

Showing 71 changed files with 31 additions and 12 deletions (loading 67).

x
0 of 71 viewed, 71 left
5 additions and 0 deletions.changeset/gold-days-greet.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@tanstack/angular-virtual': major
+---
+​
+Angular +19 with proper lazy init
14 additions and 0 deletionsdocs/framework/angular/angular-virtual.mdModified
View file
@@ -4,6 +4,8 @@
​
The `@tanstack/angular-virtual` adapter is a wrapper around the core virtual logic.
​
+Angular Virtual supports Angular 19 and newer. In practice, the adapter is intended to support Angular LTS releases and newer.
+​
## `injectVirtualizer`
​
```ts
@@ -16,7 +18,19 @@
```
​
This function returns an `AngularVirtualizer` instance configured to work with an HTML element as the scrollElement.
+The returned `AngularVirtualizer` mirrors the core `Virtualizer`, but adapter-managed state is exposed through Angular signals. This includes:
​