mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ad2376435b
Adds support for customizing the `IntersectionObserver` options for the `on viewport`, `prefetch on viewport` and `hydrate on viewport` triggers.
Note that the options need to be a static object literal, e.g. `@defer (on viewport(trigger, {rootMargin: '123px'})`.
Fixes #52799.
PR Close #64130