Showcase, Table: Use TableLazyLoadEvent instead of LazyLoadEvent #17515
Labels
Component: Documentation
Issue or pull request is related to Documentation
Milestone
Describe the bug
The correct type for the
onLazyLoad()
event isTableLazyLoadEvent
.Showcase still uses
LazyLoadEvent
which throws a compile error whenstrictTemplates
is enabled in tsconfig.json.It looks like
LazyLoadEvent
is never really used anymore and should be removed. I have not removed it in my PR as this would be a breaking change.Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://primeng.org/table#virtual-scroll-lazy
Environment
Angular version
19
PrimeNG version
v19
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The correct type should be used.
The text was updated successfully, but these errors were encountered: