x

Open in Github Open in StackBlitz
@twicpics-components
Documentation

Bulk loading

With TwicImg and TwicVideo your 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 where TwicView comes into play.

The TwicView components eager loads all of his TwicImg and TwicVideo children as soon as TwicView comes into the viewport (depending on your anticipation settings).

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