I did not try with the app.module, but I followed the example link pretty closely and this is the only difference I could find.
When deferLoad is used in a child component, it will load all images that are presently in the initial viewport but fail to load any images on new images that come to the viewport thereafter.
I did not try with the app.module, but I followed the example link pretty closely and this is the only difference I could find.
When deferLoad is used in a child component, it will load all images that are presently in the initial viewport but fail to load any images on new images that come to the viewport thereafter.