x

Open in GithubOpen in StackBlitz
@twicpics-components
Documentation

Bulk loading

WithTwicImgandTwicVideoyour medias will only start loading when they come into the viewport.

But sometimes you may want to load multiple assets in bulk instead of lazy loading them.

This is whereTwicViewcomes into play.

TheTwicViewcomponents eager loads all of hisTwicImgand  TwicVideochildren as soon asTwicViewcomes into the viewport (depending on your anticipation settings).

See also the  eager property   that disables lazy loading for a given media.